Automate

 View Only
Expand all | Collapse all

Trouble chaining IW21 and IW22

  • 1.  Trouble chaining IW21 and IW22

    Posted 08-28-2025 11:50

    Hi there,

    I'm working on a script that involves creating notifications in IW21 and then uploading long-text to those notifications in IW22.

    Here are the steps I followed:

    1. Recorded the IW22 script and mapped it to a data sheet.
    2. Recorded the IW21 script, uploaded the same data sheet (IW22), and completed mapping so everything is on a single sheet.
    3. Chained the scripts together and published them.

    The entire script runs completely fine on my end. However, when other users attempt to run it, they encounter the following error:

    Could anyone help me identify what might be causing this issue for other users?

    Snip of the data sheet:



    ------------------------------
    Ava Barnhart
    Precisely U Shared Account
    Burlington MA
    ------------------------------


  • 2.  RE: Trouble chaining IW21 and IW22

    Posted 08-28-2025 12:41

    Hi Ava,

    Did you publish the script or just send them the script through email?  I ask because I've seen this error when a script isn't published.



    ------------------------------
    Andrew Landry
    Leprino Foods Company
    CO
    ------------------------------



  • 3.  RE: Trouble chaining IW21 and IW22

    Posted 08-28-2025 12:45

    I published the scripts before sending the data sheet through email.



    ------------------------------
    Ava Barnhart
    Precisely U Shared Account
    Burlington MA
    ------------------------------



  • 4.  RE: Trouble chaining IW21 and IW22

    Posted 08-28-2025 12:52

    That's the problem, they need to pull the script from the server.



    ------------------------------
    Andrew Landry
    Leprino Foods Company
    CO
    ------------------------------



  • 5.  RE: Trouble chaining IW21 and IW22

    Posted 08-28-2025 13:02

    We don't publish to a server, just to our local C: drive. All other script run without issues, but this one does not. I suspect the problem might be related to the chain, as that's the only notable difference compared to the others.



    ------------------------------
    Ava Barnhart
    Precisely U Shared Account
    Burlington MA
    ------------------------------



  • 6.  RE: Trouble chaining IW21 and IW22

    Employee
    Posted 08-28-2025 16:39

    Hi Ava

    Note that before you chain, you will want both scripts pointing to the correct excel files - often the same file.  Check and save that first.

    Also, can you share a screen shot of your chain settings? Typically you want to go with custom and use the same workbook, possibly sheet - but that depends on your data, login credentials, etc.  Use case vary, however.

    If you feel comfortable with it, you can share you scripts and excel template. You can scrub the data, as needed.

    Please advise,

    Sigrid



    ------------------------------
    Sigrid Kok
    *Precisely Software Inc.
    ------------------------------



  • 7.  RE: Trouble chaining IW21 and IW22

    Posted 08-28-2025 17:08

    Hi,

    Here are a few snaps of several settings:

    image.png

    image.png

    image.png

    I've also attached the scripts and data file.

    Thank you so much!



    ------------------------------
    Ava Barnhart
    Precisely U Shared Account
    Burlington MA
    ------------------------------



  • 8.  RE: Trouble chaining IW21 and IW22

    Employee
    Posted 08-28-2025 17:57

    Thanks for sharing Ava.

    I'm unsure why the chain shows the path to your scripts. That is why it didn't work for others.

    When I unchained and rechained, I see this - no path - just the script names.

    Also in your modify script, I used a formula to extract the notification number from the log column - see line 4.

    As a best practice

    • please be sure each script is mapped to the right file and is working individually. Save each script. Then chain them. 
    • If you want to make any major changes, unchain the scripts, make the updates, test and then rechain.

    Hope this helps,

    Sigrid



    ------------------------------
    Sigrid Kok
    *Precisely Software Inc.
    ------------------------------



  • 9.  RE: Trouble chaining IW21 and IW22

    Posted 08-28-2025 18:15

    Hi,

    The chain does not show the file path, it's similar to yours:

    When I unchain and chain, it looks the same.



    ------------------------------
    Ava Barnhart
    Precisely U Shared Account
    Burlington MA
    ------------------------------



  • 10.  RE: Trouble chaining IW21 and IW22

    Employee
    Posted 08-28-2025 18:59

    Hi Ava

    This is what I see

    the first doesn't have the path but the 2nd does.  Are they in different locations?

    FYI

    Sigrid



    ------------------------------
    Sigrid Kok
    *Precisely Software Inc.
    ------------------------------



  • 11.  RE: Trouble chaining IW21 and IW22

    Posted 08-29-2025 10:01

    Hi,

    The scripts are both in the same location. How do I remove this file location from the chain? 



    ------------------------------
    Ava Barnhart
    Precision Drilling Corporation
    Burlington MA
    ------------------------------



  • 12.  RE: Trouble chaining IW21 and IW22

    Posted 09-10-2025 17:24

    Hello,

    I completely redid the scripts and followed the best practices, but the chained script is still not running properly for the users that I shared it with. The individual scripts run successfully for myself and others. However, once it's chained, users get the exact same error as before.



    ------------------------------
    Ava Barnhart
    Precision Drilling Corporation
    Burlington MA
    ------------------------------