Appian Community
Site
Search
Sign In/Register
Site
Search
User
DISCUSS
LEARN
SUCCESS
SUPPORT
Documentation
AppMarket
More
Cancel
I'm looking for ...
State
Not Answered
Replies
8 replies
Subscribers
7 subscribers
Views
3589 views
Users
0 members are here
Share
More
Cancel
Related Discussions
Home
»
Discussions
»
General
Question about a!startProcess which was introduced in 16.2
tapans
over 7 years ago
I'm using a!startProcess function for the first time to be configured on button event to reassign the task.
While I am testing from the front end, on the button press, the required event is performed and task is getting reassigned successfully.
But while I am testing from the SAIL Rule, I am getting an error message (attached screenshot). May be this is something to do with "onSucess" or "onError" parameter?
My Code is :
------------
a!startProcess(
processModel : cons!TaskScreen_JobAssociation,
processParameters : {
ButtonText_txt : ri!ButtonText_txt,
taskID : ri!selectedTasks
},
onSuccess : a!save(local!Success,"Success"),
onError : a!save(local!Fail,"Fail")
)
Where local!Sucess and local!Fail are normal local variables.
------------
Let me know if anyone has faced similar issue and figured out any solu...
OriginalPostID-233253
Discussion posts and replies are publicly visible
Parents
0
Jonathan Katora
Appian Employee
over 7 years ago
Tapan, does the error go away if you use fv!processInfo instead of "Success" & "Fail"?
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
Reply
0
Jonathan Katora
Appian Employee
over 7 years ago
Tapan, does the error go away if you use fv!processInfo instead of "Success" & "Fail"?
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
Children
No Data