Automate

Welcome to the Automate community!  Please feel free to start a discussion in the discussion tab or join in a conversation.

Here are some useful links where you can find more information:

Product Announcements  Ideas Portal

Discussions

Members

Resources

Events

 View Only
  • 1.  PowerShell and Evolve Examples

    Posted 18 hours ago

    Hi,

    I'm wondering if anyone has any PowerShell scripts that they've used to read data from an Evolve form, transform the data in some way and then write it back to the Evolve form?  I'd love to see some example if anyone can share.

    Any example of something that I want to use PowerShell for is comparing 2 different field values and listing if they are a match or not.

    Thanks,

    Julie 



    ------------------------------
    Julie Towle
    Lamb Weston, Inc.
    ------------------------------


  • 2.  RE: PowerShell and Evolve Examples

    Employee
    Posted 3 hours ago

    Hi Julie 

    Thank you for reaching out. Regarding your query, you can use the attached sample PowerShell script as an example. I would advise you to contact the Professional Services team regarding this request.

    You will need to use the Execute PowerShell Plug-in to run the PowerShell script in the solution.

    1. Background Processing - Execute PowerShell Plug-in (Workflow Node)

    The Execute PowerShell plug-in allows you to invoke a PowerShell command or script within a workflow. This plug-in runs in the background. Note: Use this plug-in with the Workflow plug-in node. Do not use it with embedded buttons.
    •  You can pass form field values as arguments to the PowerShell script (read), perform transformations in the script itself, and then capture the output into a solution field (write back).
    • https://help.precisely.com/r/t/1016755548/2023-12-31/Automate-Evolve/pub/Latest/en-US/Automate-Evolve-User-Guide/Execute-Powershell-Plug-in

    Example configurations:

    • Arguments from form field: [/my:myFields/my:field2]
    • Arguments from solution field: [field1]
    • Command (direct path): \\server-name\folder-name\command-name.ps1
    • Output column: [Sol_Field_1] 



    Thanks

    Archana



    ------------------------------
    Archana Chandar
    *Precisely Software Inc.
    ------------------------------

    Attachment(s)

    zip
    execute powershell 4.zip   19 KB 1 version
    zip
    abc 4.zip   218 B 1 version