Skip to main content
September 10, 2022
Solved

Passing Parameters in a process model in Appian

  • September 10, 2022
  • 7 replies
  • 0 views

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.

Best answer by harshitb6843

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
September 10, 2022

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
  }
)

September 10, 2022

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
September 10, 2022

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

September 10, 2022

Hi ,

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

September 11, 2022

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

stefanhelzle0001
Brainy
September 11, 2022