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
13 replies
Subscribers
7 subscribers
Views
7510 views
Users
0 members are here
Share
More
Cancel
Related Discussions
Home
»
Discussions
»
AI and Rules
Hi all, I have a CDT say Account having 3 Account Names & Account Numbe
rishub356
over 8 years ago
Hi all,
I have a CDT say Account having 3 Account Names & Account Numbers. Now I need to add now to the field Account.Updatedtime. How can I update all the instances of CDT with that PV without using MNI? I tried to use "APN_generateRepeatedValueForArrayLength" rule but that updates the first instance of CDT again & again. Any guidance will be highly appreciated.
OriginalPostID-191142
OriginalPostID-191142
Discussion posts and replies are publicly visible
0
sonalk
over 8 years ago
Hi Rishub,
Updating CDT in running instances can be achieved using the Process upgrade.
forum.appian.com/.../Process_Upgrade.html
Also there are various forum posts related to the similar context :
forum.appian.com/.../e-174411
forum.appian.com/.../b-45397
forum.appian.com/.../e-179885
Hope it helps.
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
rishub356
over 8 years ago
hey Sonal, This is not the existing instance. I need to use it in process model for new cases.
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
narasimhaadityac
A Score Level 2
over 8 years ago
@rishub I believe when you do a impact analysis, it should take care of the places where the CDT is reference to get the newly added element to the CDT.
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
harrys
over 8 years ago
If your CDT instances are in an array, can you use the apply() function?
For example:
apply(
rule!applyNewTime(
value: _
),
index(accountCDTs, <ordinal position of UpdatedTime field>, null)
)
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
sonalk
over 8 years ago
Hi Rishub,
Process models will be updated by performing the impact analysis available in the Appian designer, selecting the CDT and on the right hand side drop down
values you can find "Check Outdated dependents" and it will updated all the related dependents including process models.
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
Rahul Gundu
over 8 years ago
Go through the below post, it will give you an idea.
forum.appian.com/.../e-187277
Using Display Cdt rule, we can update the Cdt fields, or there
Is a custom plugin in forum which will update the Cdt fields.
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
rishub356
over 8 years ago
Guys, I think there is miscommunication here. Basically, I am creating a process model in which I query a CDT, I get values for a couple of fields from query (The result is in multiple). Now I need to update rest of the fields from PV's. For example, there is CDT say Account with three fields AcctNo, AcctName & Updateddate. When I query Account, I got AcctNo as 1,2,3 & AcctName as A,B,C. Now I need to update the third field of CDT by using now() function. I don't want to use MNI to update CDT. What can be the best way to do it without using MNI?
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
rishub356
over 8 years ago
Guys, I think there is miscommunication here. Basically, I am creating a process model in which I query a CDT, I get values for a couple of fields from query (The result is in multiple). Now I need to update rest of the fields from PV's. For example, there is CDT say Account with three fields AcctNo, AcctName & Updateddate. When I query Account, I got AcctNo as 1,2,3 & AcctName as A,B,C. Now I need to update the third field of CDT by using now() function. I don't want to use MNI to update CDT. What can be the best way to do it without using MNI?
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
Stefan Helzle
A Score Level 3
over 8 years ago
Have you tried this
forum.appian.com/.../summary
The updatecdt function should help you.
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
bharathwajanr587
over 8 years ago
Map the CDT.updateddate to 'repeat(length(CDT.AcctName),now())'
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
>