a!richTextDisplayField( value: { a!richTextItem( text: "Create New Ticket", link: a!startProcessLink( label: "Create New Ticket", processModel: cons!PM_TESTPTS, <-- Able to call process model bannerMessage: "Updated details for " ), style: "STRONG", color: "POSITIVE" ) } )
I think its impossible in appian to call process model ? but still there can be way
Discussion posts and replies are publicly visible
You are aware of
https://docs.appian.com/suite/help/20.4/Start_Process_Smart_Service.html#a!startprocess()
Hi Stefan,
I tried below syntax, could you please help with syntax to start process mmodel using button?
a!startProcess( processModel:cons!PM_TESTPTS, processParameters:{}, onSuccess :"Ok", onError :"Not Found" )
And
a!buttonWidget:{
value:a!startProcess()
}
Thanks,
Deepak
Following https://docs.appian.com/suite/help/21.1/Start_Process_Smart_Service.html#a!startprocess()
you will end with something like:
a!buttonWidget( saveInto: a!startProcess( . . ) )
If you're wanting the user to flow into a task in the process instance you're starting from this action, you must use a link and a!startProcessLink. A button can not do this. However if you're just trying to kick off a process that runs in the background, you can use a!startProcess (as pointed out already by Stefan) in either a button OR a (Dynamic) Link, basically interchangeably. You haven't really clarified what your use case and desired User Experiences are.
Can a!startProcessLink be used in button widget's saveInto parameter? Or does it only work with link components?
Not in a button, only as a link.