Showing 6 results.
Items per Page 50
of 1

CVP Forum

« Back to General Discussion - All Versions

'Subdialog Invoke' - does Call Start Action of the invoked app execute?

Combination View Flat View Tree View
Threads [ Previous | Next ]
CVP 4.1: If I have a Studio app (named 'sub') that's invoked by a Subdialog Invoke element, does the Call Start Action for 'sub' execute?

And if so, what information is available?
For example,
1. Can it tell that it was invoked as a subdialog-invoke?
2. what would the 'source application' name be? would it be the name of the invoking application?
3. Can it set is gateway adapter and root document properties?

Similarly, would the Call End Action execute when it performs the subdialog-return back to the invoking app? If so, what would be stored into 'how call ended' and 'result"?

Thanks, Janine

Hi Janine,

Using Subdialog Invoke element:

The On Call Start action of the invoked "sub" gets called, you can access the CallStartAPI to get to know what is the source application which has called this app which will be the invoking app name.

General properties of the application can be specifically set, a new root doc gets generated for the "sub" itself when it is invoked. You can also have a different gateway adapter set.

The OnCallEnd gets executed normally, and the details of howcallended and result can be obtained using CallEndAPI.

Moreover, the sessionid of the 2 app calls almost remain the same except for the application name part at the end. I believe if the "sub" is a local application( Invoke element has local =true) then there will be no extra license used, it will be treated as a single call.

Cheers!
Ranjana.