Automic Workload Automation

 View Only
  • 1.  Post condition IF THEN ELSE question

    Posted Dec 20, 2018 05:53 PM

    Hello, 

     

    I have the following workflow set up where the variable &C3# is resolved by a prompt set

     

    The following prompt set is invoked when the workflow is executed, with the 3 character company code resolving the variable &C3#   

     

    For example, AMK was the company selected and it resolved to the following:.

     

     

    I have a precondition set up for object IMS36JC job to only run if certain companies are selected, i.e. AMK, DRL, MKB, otherwise it will be inactive for the execution of the workflow.

    My logic in the precondition is as follows:

     

    If I select AMK, the job runs.  When I select DRL or MKB, both are skipped. i.e.

     

    Can someone help me with my logic?



  • 2.  Re: Post condition IF THEN ELSE question

    Posted Dec 20, 2018 05:58 PM

    Hi GJG,

     

    From the description and screenshots, this appear to be using the AWI (presumably for the Automic Workload Automation).  I have move this post from the CA Automic Community section to the CA Automic Workload Automation to better reach the product user audience.

    -Luu



  • 3.  Re: Post condition IF THEN ELSE question

    Posted Dec 20, 2018 06:10 PM

    Thanks Luu!



  • 4.  Re: Post condition IF THEN ELSE question
    Best Answer

    Posted Dec 20, 2018 06:19 PM

    Hey,

     

    You'll have to nest those IF statements for this to work:

     



  • 5.  Re: Post condition IF THEN ELSE question

    Posted Dec 20, 2018 06:59 PM

    Thanks Michael, this worked out great!