Have you created the 3 inputs fields publicationEventId, subscriptionEventId, subscriptionName in the Start step of your process?
If yes, how do you pass it to the body of the API call?
Thanks for you reply. However, I'm not sure if I understand.
Is your response in regard to using CIH with CAI Processes? If so I guess I'll have to follow the guidelines in for Cloud Integration Hub REST APIs together with how to configure a CAI process. Nevertheless, if you have any clever ways to use CIH together with CAI, I'm all ears. If your response is in regard to using the Notification URL, I don't understand how any process input fields are relevant for the inital triggering of the REST based process. You see, the process is not triggered in the first place as I get an error when trying to save the subscription in CIH.
Anyways, I don't think using the Notification URL to trigger a process is a good idea after all. Correct me if I'm wrong though!
If you have any ideas on how to trigger a process automatically without using a schedule after a publication is successful and a subscription process is ready to get triggered, I'm interested.
OK, let's answer step by step
>> Is your response in regard to using CIH with CAI Processes?
Yes, you said "I'm using Cloud Integration Hub (CIH) with Cloud Application Integration (CAI) Processes." so I figured that was where you needed help.
CIH + CAI is a great way to manage end to end integration in real time.
>>the process is not triggered in the first place as I get an error when trying to save the subscription in CIH
First you need to go to the Events page in CIH and discard the events (in a waiting state) on the subscription you want to update. To do this you go on the event, right click, change state and discard. After that you will be allowed to update your subscription.
>>I don't understand how any process input fields are relevant for the inital triggering of the REST based process
It is not the triggering of the process itself that needs inputs, but once it's triggered the process needs to know what event the subscription is supposed to get so it's mandatory inputs.
Hope this helps
I can answer from CIH perspective. Yes, you can use notification URL and provide the CAI process URL so that the process will be triggered once the data is ready.
Also, please go to the events section of CIH, select filter icon, you'll see days-> Select All. And then in the subscription, provide the subscription name and then filter. There will be some events which are not in final status, you can just discard them, if you don't need to and then you can update the subscription.
Adding with the last post of Shrihari. Please check the below document, this may help you:
Please close this thread if your query is addressed already.
Arnaud_Deneux or Jon Nettum
Can you please share with examples or in details how to use CIH in CAI? I tried used REST API as mentioned in doc but no luck. I'm not sure what I'm missing.
I'm in similar situation as Jon's post. When I post new discussion thats been pending at moderator! something is wrong in Cloud Hub knowldge base unlike as CDI or CAI knowldege base.
much appreciate for your time and effort.