I have a use case, which involves navigating a large number of screens, and has multiple prompts and extracts. I want to record this as a macro and expose it via a web service. Instead of recording one huge macro, I want to break this up into several smaller macros and use chaining to execute those in order.
So when I call my web service, I want to execute the first macro in the chain, which will produce an output (extract). I want my next macro in the chain to pick this input and do its own sub-tasks, and carry forward its own output to the next macro in the chain. Ultimately, I want all of the smaller macros to be executed and produce a final "output" which would then be returned by the web service.
Is Integration Object chaining the right way to accomplish this? If so, are there any samples on the infocenter that demonstrate this?