Skip to main content
Inspiring
Sep 10, 2022 9:35 AM UTC
Solved

Passing Parameters in a process model in Appian

Hi guyz,

Could you pls help in verifying the way by which I am passing the parameters in the process.

I am trying to pass the parameters in the following integration

I have created a process variable for the above process which can be seen below-

Let me know if I am doing things correctly or not ?

Thanks in Advance.

harshitb6843
Brainy
Sep 10, 2022 9:40 AM UTC

The process parameters accept a dictionary. The key should be the exact variable name and the value should be ri!selectedSuiteName. So it should be something like 

a!startProcess(
  processModel: cons!ACC_PM_COMMENT_ON_TASK,
  processParameters: {
    selectedSuiteName: local!selectedSuiteName
  }
)

7 replies

harshitb6843
Brainy
Sep 10, 2022 9:40 AM UTC

The process parameters accept a dictionary. The key should be the exact variable name and the value should be ri!selectedSuiteName. So it should be something like 

a!startProcess(
  processModel: cons!ACC_PM_COMMENT_ON_TASK,
  processParameters: {
    selectedSuiteName: local!selectedSuiteName
  }
)

Inspiring
Sep 10, 2022 9:49 AM UTC

I have tried the same but I don't know why it's giving me warning as invalid process parameter, how to fix this ?

harshitb6843
Brainy
Sep 10, 2022 10:31 AM UTC

That is fine. But are you able to trigger the process when you click on it? Is the new instance generating?

Participating Frequently
Sep 10, 2022 11:30 AM UTC

Hi ,

You need to parameterize the process variable as Yes when you are triggering the Process model from the Interface

Inspiring
Sep 11, 2022 8:06 AM UTC

I didn't get it. How to parametrize the process variable as yes ?

stefanhelzle0001
Brainy
Sep 11, 2022 8:12 AM UTC