Hi,
I am not sure what mistake I am making but, I am trying to launch an interface on icon click which has a!startProcess implemented on it.
Interface Icon SAIL
a!richTextIcon( icon: "info-circle", caption: local!testVer, link: a!dynamicLink( label: null, value: null, saveInto: { rule!Test_Rule(local!testVer) } ) )
Rule Input:
a!startProcess( processModel: cons!Test_Const, onSuccess: a!save(ri!testData, "Success"), onerror: a!save(ri!testData, "Failure") )
Constant:
And I have one constant "Test_Const" which is calling Process model Of the interface which I am tying to launch
Now, when I click on the icon I get "success" on local!testVar but Interface is not launching.
Please help me on this.
Discussion posts and replies are publicly visible
Yes, Stefan beat me to it - a!startProcess() works asynchronously, a!startProcessLink() is needed for users to interact with the process.
I did try with a!startProcessLink unfortunately I am getting an error (below).
Could not display interface. Please check definition and inputs. Interface Definition: Expression evaluation error [evaluation ID = B4YE0P4F] : An error occurred while executing a save: Expression evaluation error: You must specify a variable to save into, such as ri!name << fn!sum. Received: StartProcessLink.
Did you check this?
https://docs.appian.com/suite/help/20.3/Start_Process_Link_Component.html