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
3 replies
Subscribers
10 subscribers
Views
2140 views
Users
0 members are here
Share
More
Cancel
Related Discussions
Home
»
Discussions
»
Data and Records
hi All, is it possible to directly change process variables in In process-
eaglez
over 9 years ago
hi All,
is it possible to directly change process variables in In process-backed record view ?
thanks in advance.
OriginalPostID-200286
OriginalPostID-200286
Discussion posts and replies are publicly visible
Parents
0
siddharthg837
over 9 years ago
Hi eaglez,
As in process backed records the information on the record view comes from the process variables - which reflects the latest version of its value stored in the process variable.
"...directly change process variables" - by this do you mean changing the process variable value in your process instance ?
If yes - you can do that - here are the 2 scenarios.
1) Using related action - which is the process itself on which your record is sourced (which on changing the process variable value will change the process record view accordingly)
2) Using related action - you can have the form asking the updated (new) information with which you want to update the process variable and to and then using the Set External Activity smart node you can directly change that process variable.
You need to have the process instance id with you which specifies in which of the process instance you want to modify your variable.
Find below is the URL for this service from the shared component for your reference:
forum.appian.com/.../summary
Cons: Changing the value using this wont show up in the Audits in the Process instance history.
Also, I would strongly recommend to move your process record view to data backed (entity backed) record considering your use case can easily be achieved using entity backed. Also it has huge advantage over process backed record in terms of:
1) Memory Management no need of long lived processes)
2) Higher flexibility in terms of customization of the records (facets, search etc)
Hope it helps !
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
Reply
0
siddharthg837
over 9 years ago
Hi eaglez,
As in process backed records the information on the record view comes from the process variables - which reflects the latest version of its value stored in the process variable.
"...directly change process variables" - by this do you mean changing the process variable value in your process instance ?
If yes - you can do that - here are the 2 scenarios.
1) Using related action - which is the process itself on which your record is sourced (which on changing the process variable value will change the process record view accordingly)
2) Using related action - you can have the form asking the updated (new) information with which you want to update the process variable and to and then using the Set External Activity smart node you can directly change that process variable.
You need to have the process instance id with you which specifies in which of the process instance you want to modify your variable.
Find below is the URL for this service from the shared component for your reference:
forum.appian.com/.../summary
Cons: Changing the value using this wont show up in the Audits in the Process instance history.
Also, I would strongly recommend to move your process record view to data backed (entity backed) record considering your use case can easily be achieved using entity backed. Also it has huge advantage over process backed record in terms of:
1) Memory Management no need of long lived processes)
2) Higher flexibility in terms of customization of the records (facets, search etc)
Hope it helps !
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
Children
No Data