public WorkflowNotification toWorkflowNotification()
{
return new WorkflowNotification()
{
Properties =
{
{ "NotificationType" , "NewTask" }
},
Content = new Dictionary<string, object>()
{
{ "Type", Type },
{ "WFId", WFId },
{ "Name", Name },
{ "Done", Done },
{ "IsEndState", IsEndState },
{ "ReadableParameters", ReadableParameters },
{ "EditableParameters", EditableParameters },
{ "TaskProperties", listToString(TaskProperties) },
{ "InternalOrderId", InternalOrderId}
}
};
}