Automate

 View Only
  • 1.  Conditional for a GUI-scripted Transaction in /N/IRM/GCRM

    Posted 10-20-2020 10:55
    Hello WS Community!

     

    This is my first GUI-scripted WS so apologies if I missed something.

    The tcode is /N/IRM/GCRM and the operation the script is executing is just switching between statuses.

    The original ask was to go from status #1 to status #2 to status #3 and the simple script I created does that.

    During testing, I asked if all records being submitted were going to start at status #1 or if some would start at status #2.

    Sure enough, the answer was yes that there are records that will start at status #2 and the volume was variable but significant.

    My colleague and I reviewed the video https://www.youtube.com/watch?v=QGA9DEV9T5I

    and tried to implement a variation of what was suggested to no desired result.

    I need a conditional that will recognize the claim is already in Status 2 and move on.

    Steps in /N/IRM/GCRM

    1. Select the 'Status' tab
    2. 'Set Status button'
    3. Status 2
    4. 'Set Status button'
    5. Status 3
    6. Post + Save


    Thanks in advance. JS

    ------------------------------
    John Sekutowski | Analyst
    Rockwell Automation
    ----------------------------


  • 2.  RE: Conditional for a GUI-scripted Transaction in /N/IRM/GCRM

    Employee
    Posted 10-21-2020 10:12
    Hi John

    You'll need to capture the status field, and if not editable, use the pop-up to capture disabled fields.

    I don't have anything in our systems to test this with, so it might be helpful if you share a bit more info.  Can you include a screen shot from expert mode where you have the IF condition?  Also the details of the IF condition?  

    Thanks,
    Sigrid

    ------------------------------
    Sigrid Kok
    PSE | Winshuttle NA
    ------------------------------



  • 3.  RE: Conditional for a GUI-scripted Transaction in /N/IRM/GCRM

    Posted 10-21-2020 14:40
    If you would like to see the script run live, we can set up a meeting.



    ------------------------------
    John Sekutowski | Analyst
    Rockwell Automation
    ------------------------------



  • 4.  RE: Conditional for a GUI-scripted Transaction in /N/IRM/GCRM

    Employee
    Posted 10-21-2020 14:57
    Hi John

    An interactive session is something support or services may be able to do. :) 

    I am not certain you are actually capturing SAP field names.  I see the grid item values but not the SAP fields themselves.  Did you click to capture disabled fields?

    What do you see when you add an IF statement - choose SAP field from the dropdown?  I think that's the type of IF statement you'll need, i.e. if sapfieldstatus = 1 then go thru the logic set the status value to 2.  

    HTH,
    Sigrid

    ------------------------------
    Sigrid Kok
    PSE | Winshuttle NA
    ------------------------------