Skip to content
This repository was archived by the owner on May 28, 2021. It is now read-only.

Workflows

Ankit Popli edited this page Apr 3, 2017 · 3 revisions

Runtimes manage the state of Widgets. Widgets manage the state of Processes.

1 Widget <----> 1 Workflow.

  • User Input a special part of Workflow.
  • Workflow with cases like User Input is always in a polling mode. Mistral polls to receive the data.

Example:

Whom to Meet Widget

  • Process 1: Search Member. [Autocomplete action -> Set Member to a runtime session.]

  • Process 2: Wait for User Input [ Listens for 'member' key in runtime session ]

  • Process 3: Send notification to selected member. (Requires P1 & P2 to be completed)

  • Process 4: Listen for User (member) action. [ Listens for 'action' key in runtime session ]

Completion of Process 4 marks the completion of Widget/Workflow with State [Success/Failure].

Clone this wiki locally