-
Type:
Suggestion
-
Resolution: Duplicate
-
Component/s: Condition - If/then/else block, Condition - Issue Fields
-
None
Problem Definition
Sometimes, an Automation Rule needs to take different actions based on prior actions outcomes. There is not currently a uniform way to determine if an action succeeded or not.
Suggested Solution
Provide smart values for actions taken in an Automation Rule that allows accessing the same information entered into the Audit Log once the entire rule is done executing.
As an example, say you have a Create Issue Action, then an If/Else-If Condition after it.
The If/Else-If Condition could be checking if the Smart Value actions.latest.result equals success or failure.
Then, in the case of result being equal to failure, something like actions.latest.result.details could provide what ends up going in the Audit Log for why it failed. i.e. "Create Issue Failed because <reason>."
Then this could be used in actions in the Rule. i.e. Emailing specific Users via the Send Email Action or similar.
Workaround
There are currently no known workarounds for this at this time. If one is discovered, this Feature Request will be updated to share it.
- duplicates
-
AUTO-205 Action to trigger/run/execute another rule based on the results of a previous rule
- Gathering Interest