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
21 replies
Subscribers
4 subscribers
Views
6332 views
Users
0 members are here
Share
More
Cancel
Related Discussions
Home
»
Discussions
»
Process
How to join two CDT's using Process Model without using MYSQL Queries??
amitas
over 8 years ago
How to join two CDT's using Process Model without using MYSQL Queries??
OriginalPostID-219383
OriginalPostID-219383
Discussion posts and replies are publicly visible
0
harshav
over 8 years ago
As far as I understood, If you want 2 CDTs in a single one you can user One to Many Relationship, But if you are saying that its for Joins, I would like to ask to elaborate the scenario for the other practitioners as well
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
Vinod Bongoni
Certified Lead Developer
over 8 years ago
Are these 2 CDT's are same type or different?
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
sparshs
over 8 years ago
can you please elaborate the use case here?
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
sikhivahans
over 8 years ago
@amitas Hi, it might be worth taking a look at 'joinCdt' function in the 'CDT Manipulation' Shared Component at
http://bit.ly/28MEhax
. The plugin says that the 'joinCdt' is analogous to an SQL join statement.
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
amitas
over 8 years ago
@sikhivahans okay, but is there any other way to join two CDT's??
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
sparshs
over 8 years ago
You have to build logic in Appian for that like you have to look out for a relationship between the two CDTs according to which you can join them. I hope i am making sense here.
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
amitas
over 8 years ago
@sparshs Actually its like combining data from two CDT's having one common field and then storing it in a new CDT using process model. But I don't know how to achieve this.
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
sparshs
over 8 years ago
You can try out to build a expression rule to join data from two cdts on the basis of your common field and create a datasubset out of it. Then in process model you can directly but the data from datasubset in to your third cdt, if the field of CDT and datasubset are same. Please let me know if you want anything else on this. But i think approach suggested by @sikhivahans will reduce your trouble of writing all that logic .
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
sparshs
over 8 years ago
@amitas: You can also have look at Query Database Smart Service to see whether it can help you in your use case.
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
amitas
over 8 years ago
@sparshs thanks a lot!
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
>