coinToss Step

Use this step to simulate a coin toss action result.

Last published at: August 3rd, 2023


This step simulates a coin toss action and provides a head or tails as result, randomly. 


  • None



  • Heads – Head side of coin 
  • Tails – Tail side of coin






Let’s build and execute the “coinTossStepDef” example.      

  • Create a new definition called “coinTossStepDef” 
  • Select the definition and click the “design” button
  • Drag a “coinToss” step to the canvas
  • Connect the dots between the start and “coinToss” step
  • Click on the “coinToss” step to configure its “Settings” properties. Provide a name to the step. 
  • The “Logging” setting configuration is necessary for documentation and also measure the workflow progress and the percent complete. This is acheived by configuring the step state and percent fields individually as shown in the images below. Configure the “Logging” using the following properties.
  • Save the process definition. Create a new process instance and execute. The process step should give you head or tails as result, randomly.