Need to programmatically create a work item in RTC when a record is created in CQ
New to the API world. Is there an example out there of the steps/code needed to generate the creation of a work item in RTC when a record in CQ is generated and saved? Basically - automatically generated the bridge link so as the user in CQ does not have to create 2 records. Any guidance is very appreciated!
One answer
With respect to API start here: https://rsjazz.wordpress.com/2015/09/30/learning-to-fly-getting-started-with-the-rtc-java-apis/
https://rsjazz.wordpress.com/2013/03/20/understanding-and-using-the-rtc-java-client-api/ explains the basics and links to other posts. It uses the WorkItemOperation from https://jazz.net/wiki/bin/view/Main/ProgrammaticWorkItemCreation
Comments
Thank you Ralph! Will check out the links!
Can I extend this to ask a couple questions about the synchronizer that I'm having trouble answering as well? Can we install it on Websphere? And can you customize it so that it only syncs only at that creation time? We don't want to mimic workflow.
Thank you in advance!
It would make more sense to ask a new question about the synchronizer, as that would more likely attract the right people.
Websphere: I can't remember that I had to install the external part into an application server. I would consider to read the install help.
The synchronizer has two ends one close to CQ and one close to RTC. The one in CQ is driven by a query, but the one in RTC is driven by work item changes. However you can set up what attributes to synchronize and also only sync one direction. So you don't have to sync the workflow (which s a good idea). You can also avoid sync conflicts by avoiding syncing attributes in both directions.