About the Task-Incident Workflow
5 min
about the task incident workflow docid\ ui6tkjf134m0t a3aiteeabout the task workflow quick action docid\ ui6tkjf134m0t a3aiteeenabling the task incident workflow docid\ ui6tkjf134m0t a3aitee about the task incident workflow before you can set an incident to closed, all of its tasks must be closed also, once all tasks within an incident are closed, the incident status should automatically change to resolved, or automatically create a new task however, you can close an incident regardless of the status of its tasks this automatically closes any open tasks within the incident you cannot update an incident when it is in the logged status about the task workflow quick action the task workflow quick action category contains one default quick action new taskassignment task workflow quick action this quick action checks the incident task workflow validation rule when the record is saved enabling the task incident workflow the task incident workflow is not enabled by default; you must manually enable this feature to use it to enable this feature, you must set the task assignment and incident validation on save rules enabling the incident validation on save rule docid\ ui6tkjf134m0t a3aiteeenabling the task assignment validation on save rule docid\ ui6tkjf134m0t a3aitee enabling the incident validation on save rule from the configuration console, click build > business objects to open the business objects workspace click incident to open the incident workspace choose the business rules tab the list of rules appears at the bottom of this list is the validation on save rules section the only rule listed is shown crossed out (disabled) incident validation on save rule the full expression is $(((status != "closed") && (status != "resolved")) || istrueforallchildren("incident#", recid, "task#assignment rev3", "$(status == 'completed' || status == 'cancelled' || status == 'rejected')")) click the enable icon next to the rule the rule is no longer crossed out click save enabling the task assignment validation on save rule from the configuration console, click build > business objects to open the business objects workspace open the task assignment business object choose the business rules tab the list of rules appears at the bottom of this list is the validation on save rules section the only rule listed is shown crossed out (disabled) task assignment validation on save rule the full expression is $(ifallsiblings("incident# rev3", "$(status != 'closed' && status != 'resolved')", "$(status == 'completed' || status == 'cancelled' || status == 'rejected')", "$(promptandexecuteaction('$(parent(incident# rev3))', 'task belongs to an incident with no other unfinished tasks select \[yes] to set incident resolved, select \[no] to create a new task, or select \[cancel] to cancel the task save operation ', 'resolve incident', 'new taskassignment'))")) click the enable icon next to the rule the rule is no longer crossed out click save
