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
5 replies
Subscribers
6 subscribers
Views
2287 views
Users
0 members are here
Share
More
Cancel
Related Discussions
Home
»
Discussions
»
Process
I have a question regarding editing CDT related process variables for a running
benjamins
over 10 years ago
I have a question regarding editing CDT related process variables for a running process.
Editing non CDT process variables is straight forward, but when it comes to editing the CDT process variables (for a user task say), for a currently assigned task, it appears that it cannot be done. I have tried editing the process and creating an exception to go down a path to a script task, but the exception is never fired. I understand that I can alter the flow after the currently assigned task to update the CDT process variables via a script task, but that will not help me if they want the CDT process variables to be updated immediately from the currently assigned task.
Hope I have been clear with what I am trying to accomplish. Anyone have any ideas?
OriginalPostID-148058
OriginalPostID-148058
Discussion posts and replies are publicly visible
0
rodgraham
Certified Lead Developer
over 10 years ago
Is this to fix a problem with a running process instance? You could add a script task that updates the cdt then routes to the task. Start the script task giving you 2 versions of the user task and then cancel the old one.
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
subhankarb
over 10 years ago
Hi ,
You can use IFM Manager smart service available in forum.
forum.appian.com/.../summary
NOTE: IFM will not work if your CDT variable is a multiple type.
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
benjamins
over 10 years ago
Creating a new instance via the script task and cancelling the old task seems to be the best way. IFM looks good... except if you need to edit a CDT array.
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
Christine Shen
A Score Level 1
over 10 years ago
Are you having an issue with editing an existing CDT that has some fields filled out and want to change some fields to new values? What are you checking for firing the exception - ac! or pv! ?
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
Jacob Cohen - Project Leader - Macedon Technologies
over 10 years ago
I would agree with your assessment to create a new instance and cancel the old one. You might also want to try checking the "Refresh default values every time the task form is viewed" box in the Other tab of the User Input node. But as Christine mentioned, that depends on whether or not they're ac parameters or process variables.
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel