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
what is the implication of this? does this mean if i have two workflow types with a starting activity related to this event, only one will be triggered if it is true?
I noticed the for the timer, isExclusive and isAlwaysCorrelated is set to true.
For the signal isExclusive is set to false, and isAlwaysCorrelated is also set to false, however, in the code they do manually resume workflows, vs the timer event which depends on the workflowmanager to do so:
/// <param name="isExclusive">
/// If true, a new workflow instance is not created if an existing one is already halted on a starting activity related to this event. False by default.
/// </param>
In my own testing, if isAlwaysCorrelated is set to false, a workflow halted on that event will not resume.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
When should I use IsExclusive = true and isAlwaysCorrelated = true?
what is the implication of this? does this mean if i have two workflow types with a starting activity related to this event, only one will be triggered if it is true?
I noticed the for the timer,
isExclusive
andisAlwaysCorrelated
is set to true.For the signal
isExclusive
is set to false, andisAlwaysCorrelated
is also set to false, however, in the code they do manually resume workflows, vs the timer event which depends on the workflowmanager to do so:OrchardCore/src/OrchardCore.Modules/OrchardCore.Workflows/Http/Controllers/HttpWorkflowController.cs
Line 253 in 5e90031
In my own testing, if
isAlwaysCorrelated
is set tofalse
, a workflow halted on that event will not resume.Beta Was this translation helpful? Give feedback.
All reactions