logic in the Update Process Data shape
Is there a way to execute C# if/else statements in the Update Process Data shape? I'm looking for a good way to return multiple values in a single control shape outside of an eForm.
-
hi Matt,
We don't support if-else statements in the update process data shape. To assign something conditionally, you can use the condition operator.
ex) string.IsNullOrEmpty((${/pd:AP/pd:formFields/pd:Requestor} as string)) ? ${ProcessInitiator} : ${/pd:AP/pd:formFields/pd:Requestor}
Hope this helps.
Lucas
请先登录再写评论。
评论
5 条评论