Hi. I write a simple Inline function.
[Category(ResourceNameHelper.ResourceName, "IntegrationCategory", typeof(UserInfo))]
public class UserInfo
{
/DisplayName(ResourceNameHelper.ResourceName, "GetUserPrifile", typeof(UserInfo)),
Description(ResourceNameHelper.ResourceName, "GetUserPrifile", typeof(UserInfo))]
public static bool GetUserPrifile(long requestId, out string errorMessage)
{
try
{
if (!K2IntegrationWrapper.GetUserProfile(requestId, out errorMessage))
return true;
}
catch (Exception ex)
{
errorMessage = ex.Message;
return true;
}
return false;
}
}
In K2 Designer i can't use this function. It wait such parameters: long, string&. But i don't know how to give it "string&" parameter