Tran-Hoang_Hau_348

Time & Dependencies tab: Status field

Discussion created by Tran-Hoang_Hau_348 on Aug 21, 2017
Latest reply on Aug 23, 2017 by AjayOri611470
This question has been asked sofar 

There is an application deployment workflow which includes the following: 

1. Component workflow to update the package status to "....Deploying to <deployment target>...." 
2. Component workflow to deploy component set 1 
3. Component workflow to deploy component set 2 
4. Component workflow to update the package status to "Deployed to <deployment target>" 

In steps 2 and 3, the component flow checks for two criteria: 
a. That the set to be deployed is not empty. 
b. After the deployment, it scans the Job Report (REP), in a Post-Process script, for the wording "ERROR" 

If criterion (a) is met, the workflow is being cancelled in the Preconditions tab. This generates System Return Code 1851. Steps 2, 3 and 4 are executed. 

If criterion (b) is met, the script includes the command MODIFY_STATE RETURN_CODE=50. This generates System Return Code 1800. Steps 2, 3 and 4 should not be executed. 

If neither of these criteria are met, proceed with the deployment until step 4. 

How do we use Status, in the Time & Dependencies tab, for achieving this? 

Cheers and thanks, 

==> When we working with Application, Component, Actions Workflow we can only use the Precondition or Postcondition

gyhsw0mbqbig.jpg

If anything go wrong with the Action workflow, the whole/Parent workflow will be aborted (you can see the default setting as below)

kwuxb3egsc0s.jpg

So In order to go with your requirement I would suggest to Clone the action pack using "Action Builder"  so it won't affect to any application you have, then you can play with it
y5wl5450xtt8.jpg

And then you can change the code in Post process tab, or Output scan without affecting to any existing Applications, this way is safe for testing and playing 
:), and meet your requirement

1km3snfl6sqw.jpg

Outcomes