on 06-21-2016 9:54 PM
I need to integrate user and directory data where the user must exist before I can create the directory record. If I need to create a new user and directory record, how can I ensure the user record will be created before I create the directory record? Specifically, I expect to read LDAP user information and from that look up related information in a SQL database, then use this data to either update the user and/or directory records in the target system via web services. I think I can wire the two records via a secondary/business key so I do not need the user's record's primary key. I just need to be able to time the requests to the services so that the user request is processed first. Something like a fork where one path is delayed.
Hi Carlton,
This can be implemented using BPM. BPM will send the first user message and wait for the response/successful delivery. Once the message is delivered it trigger the directory message.
regards,
Harish
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
This is great information, not only for this problem but also a few others I have. So, if I understand, the UDF would do the first insert then wait for the response before the rest of the transform executes therefore solve the issue; but all of the first insert would be in Java. Do I understand you correctly? I'm new to PI and had not realized you could write UDFs. BIG thank you!!!
Hi Carlton!
You could use mapping with JDBC lookup within it.
Regards, Evgeniy.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Carlton!
Harish has already answered to your question in above post. It's worth mention that if you need to check user info in SQL database you should use JDBC lookup, not SOAP.
And another limitation is that you can't perform Insert/Update operation within JDBC lookup, just Select operation.
Regards, Evgeniy.
User | Count |
---|---|
81 | |
10 | |
10 | |
9 | |
7 | |
6 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.