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
7 subscribers
Views
1475 views
Users
0 members are here
Share
More
Cancel
Related Discussions
Home
»
Discussions
»
AI and Rules
I have a business requirement get the achieved process history variables data an
Srinivasa Kommanaboyina
Certified Lead Developer
over 9 years ago
I have a business requirement get the achieved process history variables data and persist the process history data (i.e. process variables data, which is nested CDT) into database. I have used Get Process History plug-in to get the complete history of modified process variables data by passing process id; plug-in has returned list of CDT values under "actionProperties" ACP (which is multi value variable), but it does not have CDT child key attribute/names.
Input 1:
"actionProperties" ACP value is: Changed to TypedValue[it=1816,v={<null>,{47964,XYZ,479649998,ABC},{<null>,PQR,PQR_SHARECLASS,<null>,,<null>,,<null>,<null>,<null>,<null>}}]
Input 2:
"objectTypeName" ACP value is: AppianProcessObject, but AppianProcessObject CDT has below structure.
CDT structure: MasterObjectDetails[id=, entityDetail=[key=, name=, altId=, entityType=], categoryDetail=[Id=, name=, subjectArea=, appianProcessId=, owner=, date=, status=, lastUpdate_DateTime...
OriginalPostID-127004
OriginalPostID-127004
Discussion posts and replies are publicly visible
Parents
0
Srinivasa Kommanaboyina
Certified Lead Developer
over 9 years ago
...=, duration=, closeDate=]]
I would like to convert the both inputs into output of below format.
Changed to [id=, entityDetail=[key=47964, name=XYZ, altId=479649998, entityType=ABC], categoryDetail=[Id=, name=PQR, subjectArea=PQR_SHARECLASS, appianProcessId=, owner=, date=, status=, lastUpdate_DateTime=, duration=, closeDate=]]
How can I populate this list of values against CDT child key attributes/names directly? Is there any OOTB functions? Do I need to split values into arrays and assign them one by one against CDT key attributes in same order in rule/expression editor?
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
Reply
0
Srinivasa Kommanaboyina
Certified Lead Developer
over 9 years ago
...=, duration=, closeDate=]]
I would like to convert the both inputs into output of below format.
Changed to [id=, entityDetail=[key=47964, name=XYZ, altId=479649998, entityType=ABC], categoryDetail=[Id=, name=PQR, subjectArea=PQR_SHARECLASS, appianProcessId=, owner=, date=, status=, lastUpdate_DateTime=, duration=, closeDate=]]
How can I populate this list of values against CDT child key attributes/names directly? Is there any OOTB functions? Do I need to split values into arrays and assign them one by one against CDT key attributes in same order in rule/expression editor?
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
Children
No Data