Our new Appfire Documentation Space is now live!

Take a look here! If you have any questions please email support@appfire.com

Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 3 Next »

This article helps to understand how the post function executes the action based on the checks performed by date compare precondition.

Instructions

Please note, the steps below are added on the Resolve transition, to compare the Due date and Resolved date, and to execute the action accordingly.

  1. Edit the workflow that is associated with your project

  2. Select the Resolve transition

  3. Select the Post Functions tab and click Add post function

  4. Select the Precondition: Date Compare(JSU) and click Add

  5. Select the parameters to add the condition as Resolved <= Due Date and click Add.

  6. This precondition will check only the date part and execute the action. If you want the precondition to check the time along with the date and perform the action then tick the Include time part checkbox option

  7. Select the Update Any Issue Field (JSU) post function and click Add

  8. Set precondition must be True and select the field to be updated with a preferred value and click Add


    In exceptional cases like for the Sprint field, the Field Value should be the id of sprint instead of sprint name.

  9. Now, select the parameters to add the condition as Resolved > Due Date and click Add

  10. This precondition will also check only the date part and execute the action. If you want the precondition to check the time along with the date and perform the action then tick the Include time part checkbox option

  11. Select the Update Any Issue Field (JSU) post function and click Add to update the field when the above precondition is true

  12. Set precondition must be True and select the field to be updated with a preferred value and click Add

  13. Once all the preconditions and post functions are added, re-arrange the order of the configuration as below:

  14. Publish the workflow, create an issue by providing a value for the Due date field, and transition the issue to check if the fields are updated accordingly

For better results, make sure that both the preconditions check either Only date part or Include time part to execute the action correctly.









 







  • No labels