Navigation

    OpenIAP

    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups

    Pass variables between InvokeCode and OpenRPA workflow

    General Discussion
    2
    4
    61
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • A
      axel.rp last edited by

      Hi there, does anybody know how I can pass a workflow variable to a PowerShell script which I want to enter in the Invoke Code action?

      And vice versa would also be interesting: how can I write a value which I determined in the PowerShell script to a workflow variable?

      Allan Zimmermann 1 Reply Last reply Reply Quote 0
      • Allan Zimmermann
        Allan Zimmermann @axel.rp last edited by

        All workflow variales automaticly gets mapped into the powershall runespace, and they get mapped back again after execution.
        see example here
        https://github.com/open-rpa/examples-files/tree/master/invoke-code-examples

        A 1 Reply Last reply Reply Quote 0
        • A
          axel.rp @Allan Zimmermann last edited by

          Thanks for the info Allan. Great stuff.
          I downgraded again to v1.3.61 since v1.4.19 seemed still quite buggy to me and I need a version which I can work with and get things done.
          I tried to open some of the example files from GitHub (Invoke Code and Working with Forms examples) but I get an error message for both xaml files:

          OpenRPA_error_import.jpg

          What to do here? Is the Windows locale which is creating problems or what must I do...?

          Allan Zimmermann 1 Reply Last reply Reply Quote 0
          • Allan Zimmermann
            Allan Zimmermann @axel.rp last edited by Allan Zimmermann

            @axel-rp buggy/unstable how?

            1 Reply Last reply Reply Quote 0
            • Locked by  A az 
            • First post
              Last post