You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The workflows collection in MyModel contains several workflows, each of which can either have a list of ResponsibleUsers or ResponsibleRoles.
If the first workflow only has ResponsibleUsers then the remaining workflows cannot have ResponsibleRoles because Utils.GetTypedObject only looks at the first item in a collection for types.
This is because as explained above, the first workflow does not have any responsible roles, there is no type specified for other workflows from now on.
The text was updated successfully, but these errors were encountered:
The
Utils.GetTypedObject
used by theRuleParameter
seems to fail to properly type my ExpandoObject when I pass it in.Consider the following models:
The
workflows
collection inMyModel
contains several workflows, each of which can either have a list of ResponsibleUsers or ResponsibleRoles.If the first workflow only has ResponsibleUsers then the remaining workflows cannot have ResponsibleRoles because Utils.GetTypedObject only looks at the first item in a collection for types.
The above JSON when put through a RuleParameter and then accessed again would look similar to the below:
This is because as explained above, the first workflow does not have any responsible roles, there is no type specified for other workflows from now on.
The text was updated successfully, but these errors were encountered: