Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Jira LegacyshowSummaryfalseserverJIRA (mqidentity.atlassian.net)serverId77fb3325-4051-36d9-bcc7-761f62050707keyDOCS-36 

Table of Contents
minLevel3
outlinetrue
stylenone

...

Examples of non-repeatable workflows are often used in AppFacets.

Jira Legacy
showSummaryfalse
serverJIRA (mqidentity.atlassian.net)
serverId77fb3325-4051-36d9-bcc7-761f62050707
keyDOCS-36

Code Block
languagexml
titleNon-repeatable workflow example
linenumberstrue
placeholder for example of non-repeatable workflow

...

Instances of such workflow are started right after they are created. This is done by ensuring that all the input values of the workflow's initial task(s) have their values assigned in your source code (versus waiting for external events to give value). They are only useful if they are doing something  or communicating with some other entities [en-masse] which is difficult with non-repeatable workflows.

Jira Legacy
showSummaryfalse
serverJIRA (mqidentity.atlassian.net)
serverId77fb3325-4051-36d9-bcc7-761f62050707
keyDOCS-36

Code Block
languagexml
titleExample of non-waiting workflow
linenumberstrue
Placeholder for example of non-waiting workflow

...

These are workflows which have explicit “event handler”. Instances of these workflows wait for the external event to come and then start ("external" here means external to the workflow itself). The "event handler" is written as "Event" in the workflow definition. In ThingFacet (and AppFacet) workflows, the Event is typically the ActionArgument, which is triggered by the modification of actionable attributes of the model facet.

Jira Legacy
showSummaryfalse
serverJIRA (mqidentity.atlassian.net)
serverId77fb3325-4051-36d9-bcc7-761f62050707
keyDOCS-36

Code Block
languagexml
titleExample of externally-activated workflow
linenumberstrue
Placeholder for example of externally-activated workflows.

...

These have an invoke with the WaitFor modifier. Instances of such workflows can start, work for a while and then suspend and wait for an event in the middle of task (on the waitFor). Once wait is completed they continue until the next WaitFor or process completion (The "external" here means external to the workflow itself).

Jira Legacy
showSummaryfalse
serverJIRA (mqidentity.atlassian.net)
serverId77fb3325-4051-36d9-bcc7-761f62050707
keyDOCS-36

Code Block
languagexml
titleExample of externally-continued workflow
linenumberstrue
Placeholder for example of externally-continued workflow

...