- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-25-2016 12:32 PM
Hi Everyone
I have a simple "wait for condition" on a true/false option. So for a wait for condition it will check that property every time the record gets updated. This works if I want to use it for state, but not for true/false option. My workflow gets cancelled every time even before that property gets changed. any suggestions?
Thanks
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-25-2016 01:18 PM
Hi Mike
I found the problem
Demand is extended from task, and there's a business rule called "Cancel Workflows Upon Cancellation"
The problem with this business rule is that it cancels on the 'state' value of 4, which is 'closed incomplete' or 'cancelled' in most tables that's also extended from task.
I just added the demand table to the condition to exclude it and it works.
Thanks for your help!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-25-2016 12:38 PM
I'd have to test it, but it's probably because a true/false variable always has a value (either true or false), so the condition is always going to be satisfied, and the workflow will continue.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-25-2016 12:54 PM
Hi Mike
I changed it to a choice type and it does the same, This workflow runs on the demand form. When I take the state to screening its fine, but as soon as I Qualify the demand it gets cancelled.. Its very weird.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-25-2016 01:18 PM
Hi Mike
I found the problem
Demand is extended from task, and there's a business rule called "Cancel Workflows Upon Cancellation"
The problem with this business rule is that it cancels on the 'state' value of 4, which is 'closed incomplete' or 'cancelled' in most tables that's also extended from task.
I just added the demand table to the condition to exclude it and it works.
Thanks for your help!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎01-31-2017 01:29 AM
ahh.. i wish i had seen this post earlier. i just wasted my whole day debugging the workflow and went on to create custom business rules instead of workflow.
Thanks