Dear Brenden,
Thanks for your response. I not passing anything from the Task. Its a simple code of creating User like below:
public string Execute(TaskInfo task)
{
UserInfo userInfo = UserInfoProvider.GetUsers().WhereEquals("CWID", userData[1]).FirstOrDefault();
if (userInfo == null)
{
userInfo = new UserInfo();
userInfo.SetValue("CWID", userData[1]);
userInfo.FirstName = userData[2];
userInfo.LastName = userData[3];
userInfo.Email = userData[4];
userInfo.SetValue("UserCode", userData[5]);
userInfo.SetValue("StreetAddressOne", userData[6]);
userInfo.SetValue("StreetAddressTwo", userData[7]);
UserInfoProvider.SetUserInfo(userInfo);
}
}
Could you please let me know what do I need to pass and how?
Thanks.