Skip to main content
October 6, 2022
Solved

Process Parameters are not getting passed while calling inside a!save

  • October 6, 2022
  • 11 replies
  • 0 views

Hi Team,

I am new to appian.I am trying to call a processModelLink inside a!save but I can see that processParameters are not getting passsed. Please see the screenshot below.

Now When I am hitting the link, I am getting process Paramters passed as null,

see below screenshot and please help in this regard.

Best answer by abhishekm0007

hi Javed:

You are trying to store the output of smartservice (a!startPRocessLink) in side the variable : local!processMsg. This will not work.

Try to call the a!startprocess outside the a!save() and remove  local!processMsg if note needed.

11 replies

abhishekm0007
October 6, 2022

hi Javed:

You are trying to store the output of smartservice (a!startPRocessLink) in side the variable : local!processMsg. This will not work.

Try to call the a!startprocess outside the a!save() and remove  local!processMsg if note needed.

harshitb6843
October 6, 2022

You cannot call a!startProcess outside a saveInto. It is a smart service. 

[mention:0d7bb456c28246b9a61b28278a1ac8bd:e9ed411860ed4f2ba0265705b8793d05], a!startProcessLink can only be called on a link. It cannot work with buttons. For buttons, you have to use a!startProess inside a saveInto, but outside a!save(). If you want to save the output, you can use "onSuccess" parameter of a!startProcess

mikes0011
Brainy
October 6, 2022
You cannot call a!startProcess outside a saveInto.

FYI, that's not what Abishek here was suggesting.

The correct advice, highlighted:

Here he was referring to this incorrect setup, as seen in OP's screenshot:

The Expression Guru