How to configure execution plans?

robbika
Giga Contributor

I would like to use execution plans for change requests.

To create the execution plan is simple, but how to fill in the fields of the change task from the change request in the execution plan tasks?

The is a scripting field, but I don't know how to use it and there is no information anywhere about it.

 

For example, how do I set the priority of the task to the same as the request? That would be a start.

5 REPLIES 5

To your first problem: We do the same but in our case it works as expected.


Maybe there is a bug in the release you are on. Did you check with support if there is something known in regards to this behavior?


I assume you checked this already but let's double check:



· Is the state "Pending" available as a state or was it removed? (not visible in the dropdown)



· Does it have a value of "-5"?



· Is there any business rule which might change the state to something else?


Run a search for all business rules on "task" or "change_task" if they contain anything in regards to "state" and review the script.




For the second part:


You could create a "Wait For" which checks if there are any tasks associated with the change which are not closed yet.


When none is found, continue in the workflow.



The business rule which triggers the workflow to go on is already there. Only you need to make sure that its condition is matched so it runs.


Currently it only runs when the state is either 3, 4 or 7 OR if the current operation is delete.



As we have different states for different applications we added a condition "current.active.changesTo(false)" which basically catches them all as we always add a business rule to the tables to set a task to active=false when it is done (user selected one of the available close states).



Hope this helps