Versions Compared

Key

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

...

With JSU, you can configure your workflow to transition automatically to the correct status. 

After In the example above, when the user submits the budget, JSU will continue from the DECISION status and automatically forward the process to the correct status, depending on the business rules in place: here, Budget <= 1,000 OR Budget > 1,000.

How to configure this workflow

...

  1. Add the JSU Post Function 's Follow Up Transition in  post function in the "Submit Budget" Transition to follow up next transition.
    The post function will evaluate the workflow conditions of all the next transitions on the target status of the current transition.
    If exactly one condition is valid, that transition will be triggered as a "follow-up" transition.

  2. Set up two different Value Field Conditions for the different transitions "To be approved" and "Approve". You can choose the amount of budget above which your budget needs approval. In this case, we put 1,000:
    1. If Budget > 1,000 on the "To be approved" transition, then the status turns to "TO BE APPROVED"
    2. If Budget <= 1,000 on the "Approve" transition, then the status turns to "APPROVED"

      (info) We have carefully set these conditions, that always exactly one condition is valid. Like this, the Follow Up Transition will always trigger one of these two transitions. The workflow will never be stuck at the Decision status.

  3. Make sure you add the "budget" field on your project screen before you move on with your issue creation.
  4. Create an issue in your project and set your budget to 2,000. Start progress and check the status. JSU has automated the DECISION with the follow-up transition and moved your issue to "TO BE APPROVED" based on the conditions you set up before
  5. You can do the same by setting your budget to 800. Start progress and check the status. The automation turned the issue status to "APPROVED"

...