%% /callsub public
//
// First call to call-handler
//
// Set input for call-handler
set-param inp = "some string"
(( s
call-handler "/sub/service"
))
// Get output from call-handler
get-param out type string
@<<print-out s>> with output [<<print-out out>>]
//
// Second call to call-handler
//
// Set input for call-handler called as inline code
set-param inp = "new string"
(( s
@Output: <<call-handler "/sub/service">>
))
// Get output from call-handler
get-param out type string
@<<print-out s>> with output [<<print-out out>>]
%%
Copied!