Automic Workload Automation

 View Only
  • 1.  Problem with FE workflow

    Posted Jan 25, 2022 08:12 PM
    I have a workflow that runs two consecutive FE workflows wherein the job in the workflow loops through a static variable with a list of our locations in it.

    In the job in each FE workflow, the job does a PREP_PROCESS_REPORT for string "no records found" and if it finds it, it changes the return code to '99'.

    On the Postconditions tab on the job in the FE workflow, if the retcode is "99", then it's supposed to execute a CALL object (which sends an email with the report attached) then sets the return code to '0' and carries on.

    While the workflow is carrying on, it is only sending the alert on the first time that it loops through and finds "no records found". Subsequent runs are not sending the email alert.

    Has anyone else seen this? If so, how did you solve for it?


  • 2.  RE: Problem with FE workflow

    Posted Jan 26, 2022 02:07 AM
    Hi

    yeah since V9 there are similar issues concerning FE Workflows and Conditions or Dependencies....
    After the 3rd Ticket with support I gave up...

    permanent Workaround: put a SCRI as last element into the FE section doing your checks and errorhandling

    Plan B: use another function, e.g. script loop with activate_uc_object etc..

    cheers Wolfgang

    ------------------------------
    Support Info:
    if you are using one of the latest version of UC4 / AWA / One Automation please get in contact with Support to open a ticket.
    Otherwise update/upgrade your system and check if the problem still exists.
    ------------------------------



  • 3.  RE: Problem with FE workflow

    Posted Jan 26, 2022 02:21 AM
    Check, that the relevant postconditions, that must be executed with every foreach iteration, are not set to (1) "Process Once". Instead they should be "Repeat Processing".

    This is an odd behaviour of FE workflows.



    ------------------------------
    ☎️ Swisscom Automation Engineer & 🧙 PE Membership Creator

    Automic Kurse, Tutorials, Tools und mehr auf:
    https://membership.philippelmer.com/
    Zwei Wochen kostenlos testen!
    ------------------------------



  • 4.  RE: Problem with FE workflow

    Posted Jan 26, 2022 03:18 AM
    Hi

    Thats it, the ultimate Solution!!

    THX so much, solved a bunch of problems!

    cheers, Wolfgang

    ------------------------------
    Support Info:
    if you are using one of the latest version of UC4 / AWA / One Automation please get in contact with Support to open a ticket.
    Otherwise update/upgrade your system and check if the problem still exists.
    ------------------------------



  • 5.  RE: Problem with FE workflow

    Posted Jan 26, 2022 03:47 AM
    Welcome! I just wonder the support didn't point this out in time 🤡.

    ------------------------------
    ☎️ Swisscom Automation Engineer & 🧙 PE Membership Creator

    Automic Kurse, Tutorials, Tools und mehr auf:
    https://membership.philippelmer.com/
    Zwei Wochen kostenlos testen!
    ------------------------------



  • 6.  RE: Problem with FE workflow

    Posted Jan 26, 2022 04:08 AM
    I don't wonder....
    But I have a "feeling in my guts" why...

    ;-)


    ------------------------------
    Support Info:
    if you are using one of the latest version of UC4 / AWA / One Automation please get in contact with Support to open a ticket.
    Otherwise update/upgrade your system and check if the problem still exists.
    ------------------------------



  • 7.  RE: Problem with FE workflow

    Posted Jan 26, 2022 09:30 AM
    Thank so much! That solved it and I'm grateful for your help!