pv Showing [object Object] Instead of Value

#Appian 16.2 features
Hi All,
I encountered a problem while using start process smart service i.e in the node output processInfo where pv shown [object Object] instead of showing initial values of its process variables.

Thanks in advance.


OriginalPostID-215617

OriginalPostID-215617

  Discussion posts and replies are publicly visible

  • So you can actually access the parameterised process variables in the initialised process in the Outputs of the Start Process Smart Service.

    Example: Let's say you have a process variable by name processVar1 (be it a primitive or custom data type) in the process model which you want to initialise by using the Start Process Smart Service.

    Then you may obtain the value of processVar1 as follows: fn!property(ac!ProcessInfo.pv,"processVar1",null) or fn!index(ac!ProcessInfo.pv,"processVar1",null) (You may apply the same approach for a!startProcess() as well.)

    Further I should also say that you will be able to deal with only those Process Variables that act as Parameters to the Process and this is as per my initial observations.