Often we see deployment Failure in Aria Automation due to various reason , It can be infrastructure Issues or any unexpected issue
Once It is failed , It is tedious to fill the entire form once again and If we have to do this regularly or several time in day , It can become time consuming task .
To overcome this situation , A single Click resubmit custom day 2 is developed , which will do the following
Submit new Deployment with same values
Clear failed deployment after new deployment is finished
Here is the High level Flow.

How can we implement this in any environment ?
I am using Cloud so will be doing configuration from Cloud Side, Solution can be used in on-prem as well , after changing config values.
Prerequisites:
cspToken:
python environment should be configured with request module
Environment Configuration:
- Import the attached package in environment
- Configure config element in Aria Orchestrator
- Create Custom Day 2 Action
- Import the Custom form
Import the package using documentation
Configure config element with suggested values , below is reference values

Create Custom Day 2 Action

Import the Custom form
Once it is done , It is show in deployment Day 2 action like below.

Note: Only use this on Create Failed deployments.
5 responses to “How to resubmit Failed deployment in Aria Automation Cloud/8.x using Python orchestrator workflow”
When clicking on resubmit failed deployment I am prompted for projectID and existingdeploymentID
LikeLike
Have you been able to get it to work for you?
LikeLike
Yes working now.
The step on “Import the Custom form” is not clear and also where the variables for the imported package are not clear.
LikeLike
One thing is not clear.
LikeLike
Its custom form of day 2 action not the form of catalog item
LikeLike