Skip to main content
Inspiring
May 15, 2021
Question

A!start process

  • May 15, 2021
  • 7 replies
  • 1 view

In a!start process how do we call 2 user and 2 group type parameters from PM.

Do posts code.  

    7 replies

    harshitb6843
    Brainy
    May 15, 2021

    Hi Radha,

    a!startProcess and a!startProcessLink, both of them accept params in form of a dictionary. You can just simply create a dictionary with the varibale names as keys and assign a value to it that you want to pass in that variable. 

    Example -
     

    {
        user1: "benjamin.john",
        user2: "first.last",
        group1: cons!FIRST_GROUP,
        group2: cons!SECOND_GROUP
    }

    Here, user1, user2, group1, group2 are the variable names and then I am passing some value that I want to assign to them. 

    Thanks,
    Harshit

    Inspiring
    May 15, 2021

    So incase of dynamically adding value... I just need to pass ri!user1,ri!user2, ri!group 1and ri!group2...

    Right?

    harshitb6843
    Brainy
    May 15, 2021

    Correct!