Communicating AGS Errors back to the user

 4 Replies
 0 Subscribed to this topic
 52 Subscribed to this forum
Sort:
Author
Messages
Walter
Advanced Member
Posts: 22
Advanced Member

    I'm relatively new to Process Flow and we've just implemented our first set of flows.  One of them pertains to PO approvals.  When the Flow determines the purchase order is within the users approval limits, it does an AGS call to PO20.1 to change the status to Released; not Issued.  We've have a few where the update did not occur.  When I check the log, it indicates an Ags Error. (i.e. Posting Date beyond the activity's date range)  This error would have come up  had the user taken the "Release"  action in PO 20

    I'd like to able to communicate form error messages back to the user via an email.  

    David Williams
    Veteran Member
    Posts: 1127
    Veteran Member
      When you do an AGS call you get a status message back. This can be included in an email to the user. If you're triggering ProcessFlow from the PO20 form the user who was logged in should be the user on the WorkUnit. You can use a query to get the userid and a resource query to get their email.
      David Williams
      Walter
      Advanced Member
      Posts: 22
      Advanced Member

        That's where I'm stuck.  How do I go about getting at the status message within my Flow?

        David Williams
        Veteran Member
        Posts: 1127
        Veteran Member
          The variable should look like: AGS2480_RETURN_MSG
          David Williams
          Walter
          Advanced Member
          Posts: 22
          Advanced Member

            Perfect  ---  That's exactly what I need  and it works like a charm

            Thanks David