我是CRM和流程的新手,在使用MS流构建流程时,我需要从动态CRM中获得一条与下面的SQL查询等效的记录-
select * from contacts where emailId = '<email id>'
能否请您帮助我了解如何实现这一目标。我尝试使用列表记录功能,但是它引发了一个错误,即OData查询不正确。附有流的图像。
答案 0 :(得分:0)
好了,它起作用了,我只需要将提供的参数放在单引号中-
private EventHandler onTapAdditionalHandler;
// Assignable property (not bindable, but probably can be)
public event EventHandler OnTapAdditionalHandler
{
add
{
// Clear all other handlers subscribed, and add a new one.
onTapAdditionalHandler = null;
onTapAdditionalHandler = value;
}
remove
{
// This will create a warning saying something like "you're not
// removing the value from the parameter". Only use, If you are
// 120% sure that you will only have one additional handler.
onTapAdditionalHandler = null;
}
}
// Your TapGestureRecognizer Tapped handler
protected void Tapped(Object sender, EventArgs e)
{
// Call this method (no need to await)
ChangeTheColours();
// Do the additional handling
onTapAdditionalHandler?.Invoke(sender, e);
}
private async void ChangeTheColours()
{
Xamarin.Forms.Device.BeginInvokeOnMainThread(() =>
BackgroundColor = (Color)Application.Current.Resources["CSquareButtonBackgroundColor"]);
await Task.Delay(500); // <= Don't call on the main thread!!
Xamarin.Forms.Device.BeginInvokeOnMainThread(() =>
BackgroundColor = (Color)Application.Current.Resources["SquareButtonBackgroundColor"]);
}
答案 1 :(得分:0)