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
11 replies
Subscribers
7 subscribers
Views
3936 views
Users
0 members are here
Share
More
Cancel
Related Discussions
Home
»
Discussions
»
User Interface
Does anyone know of a way to enable step-back chaining through a node (in this c
Mike Schmitt
Certified Lead Developer
over 11 years ago
Does anyone know of a way to enable step-back chaining through a node (in this case, a script task) set to execute multiple simultaneous instances? There would be no side-effects necessarily caused by re-execution in this case....
OriginalPostID-63515
OriginalPostID-63515
Discussion posts and replies are publicly visible
0
Mark Talbot
Appian Employee
over 11 years ago
Note that the previous button will not display if it enters a node which has MNI enabled (
forum.appian.com/.../Configuring_Activity-Chaining)
. There is the option of creating a previous button which flows into an XOR gateway. This gateway as one of its outgoing paths could then flow into the task that you want to execute as part of your previous functionality.
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
Shaun Kilby
Appian Employee
over 11 years ago
What version of Appian are you using?
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
Mike Schmitt
Certified Lead Developer
over 11 years ago
It's the current cloud-based (7.1) version. It looks like Mark's suggestion is what we'll have to use here.
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
Shaun Kilby
Appian Employee
over 11 years ago
I would also recommend attempting to modify the MNI to use the looping functions located here:
forum.appian.com/.../Looping_Functions
This would also solve your issue.
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
Mike Schmitt
Certified Lead Developer
over 11 years ago
The MNI is currently being used to manually populate fields of a CDT and append the new copies of that CDT to the end of a CDT array. I gave some thought to trying to use looping functions to do this, but nothing I could think of panned out. I'd be willing to reconsider if you have a good example for how to pull this off.
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
Shaun Kilby
Appian Employee
over 11 years ago
I think I'll probably need more information...it seems to me you are perfoming this: ABC.example = "Example"
ABC (multiple) = append newABC (single) to oldABC (multiple)
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
Mike Schmitt
Certified Lead Developer
over 11 years ago
in the current MNI, i create an ACP of the type of my CDT, and I manually initialize the fields with values (one or two get static PVs, and the rest get values based on an integer array previously chosen by a user). Then in the data output I append the ACP to the CDT array in question.
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
Shaun Kilby
Appian Employee
over 11 years ago
Would this work for your context? apply(fn!append,pv!myCDT,ac!myCDT)
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
Mike Schmitt
Certified Lead Developer
over 11 years ago
That looks interesting, however i'm still not seeing quite how I'd do what I need: for example, I have a PV containing an integer array, from previously in the process. Each ACP is a CDT with 2 child values; one of the values is set to something constant (a previous PV containing only one int), and the other child value will be one of the members of the aforementioned array. Such that there will be an individual ACP generated for each of (length(pv!number_array)), and these ACPs will each be added to the bigger CDT array (pv) I intend to have as my final output.
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
Shaun Kilby
Appian Employee
over 11 years ago
I think what you have described is a solid example of the need for MNI. Iterating through multiple ACPs with different values and then appending them to a list makes sense. I would then revert to Mark's suggestions. Thank for the use case as it will be helpful in future product development.
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
>