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
6 replies
Subscribers
7 subscribers
Views
2102 views
Users
0 members are here
Share
More
Cancel
Related Discussions
Home
»
Discussions
»
User Interface
I need to pass a CDT from SAIL to Process Flow. The data for the CDT used in SAI
jaishankarj
over 8 years ago
I need to pass a CDT from SAIL to Process Flow. The data for the CDT used in SAIL as rule input has been obtained using with(). While trying to pass the value back to the process flow I am getting blank field. Any thought would be appreciated
OriginalPostID-171674
OriginalPostID-171674
Discussion posts and replies are publicly visible
0
rawich
over 8 years ago
@jaishankarj, if you share some of the SAIL code you're saving the data to rule input, and also the expression used in the User Input Task form, that will help us pin point the issue.
One common mistake is passing pv!pv_name from Input Task, instead of ac!ac_name created as an input for the task node.
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
Jacob Cohen - Project Leader - Macedon Technologies
over 8 years ago
Make sure you are saving into the rule input in your submit button. You cannot directly update rule inputs within the with, they need to be local variables.
Example: a!save(ri!nodeAC, local!withVariable)
Otherwise, I agree with rawichp236, make sure you are using an Activity Class Parameter.
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
jaishankarj
over 8 years ago
Within with() I am having my data as:
a!save(local!selectionList,index(local!datasubset.data,ri!selection,null),
The data stored in local!selectionList is then mapped to rule input outside with() in Submit button as:
saveInto: a!save(ri!cdtRuleInput,local!selectionList)
Also I have used AC rather than PV variable in Process Flow
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
jaishankarj
over 8 years ago
Also when I tried to create a dummy text field and mapped the local!selectionList as value - it shows me the CDT data populated on SAIL. On click of Submit button also I can see the rule input getting populated with the data. But while passing the same to Process Flow I am getting a white patch under "Value" column of the variable - generally if the value is blank - it used to come as (No Value).
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
Jacob Cohen - Project Leader - Macedon Technologies
over 8 years ago
It sounds like an issue with your User Input node. Does your AC have a saveInto set in both Inputs and Outputs? That could cause an issue like this. My other guess would be if your AC is not typed correctly and/or if multiple is not checked.
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
jaishankarj
over 8 years ago
I have my AC only in Node Input and is Multiple. Also I made sure that the data type is same and on SAIL "Array" Check box has been checked for the rule input. Name given is same and tried providing AC as Input as well as Output node separately - but failed in both cases.
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel