HR11 Change - Return Codes

 2 Replies
 0 Subscribed to this topic
 52 Subscribed to this forum
Sort:
Author
Messages
Darien
New Member
Posts: 4
New Member
    Does anybody know what the Return Code would be from an AGS call HR11 Change for a successful "Change Complete - Continue"?

    I'm making a flow which will be putting new employee's e-mail addresses into Lawson, but need to know whether the change was successful or not and make a branch in the flow accordingly. The simplest way that I can see to do that would be a branch where, if the Return Code = whatever the return code is for a successful change do x, otherwise do y.

    Thanks.

    kdcoate
    Veteran Member
    Posts: 44
    Veteran Member
      The Return Code should be either a 1 or a 0 depending on whether the add/change was successful - but you can also use the Return Message which should return the "Change Complete - Continue" value.
      Sam Simpson
      Veteran Member
      Posts: 239
      Veteran Member
        You need to test NODENAME_RETURN_CODE or NODENAME_ RETURN_MSG.