Javed Iqbal 3 Posted February 15, 2022 Share Posted February 15, 2022 Hello, For parent child records creation parent must be created before the child. After the creation of parent we create child records and if any og the child record creation fails we want to delete all created child records and parent. How it can be achieved using Tibco cloud integration for Dynamics 365 CRM connector etc. Is there a transaction processiong mechanism with rollback feature or try catch to manually implement transaction rollback Any advice/suggestion would be appriciated :) Link to comment Share on other sites More sharing options...
Hursh Kher Posted February 28, 2022 Share Posted February 28, 2022 If this is with BusinessWorks (Integrate) capability of TIBCO Cloud Integration: After the creation of the parent and/or the child records, one of the Output fields will be the entity ID. You can use the Delete Entity activity (either through Rest or regular palette) and map the records created in the previous activity to it. This will help you delete and roll back any records you created. You can even define an error handling block as part of your process and add the Delete activity there. It can be defined to run when creation fails (after Create Entity) Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now