I recently built this same scenario out for a demo. Here was my approach:
-
I already had a form created that had a link / button to refresh an IS service.
-
The results of the IS Service (in your case the Folio number) was placed into a Modal Dialog
-
The Async Command Link/Button in #1 had its refresh property pointing to the Modal Dialog in #2 as well as the toggle property also pointing to the Modal Dialog in #2.
Here’s what should happen: When the user submits the Async Command, the IS Service is invoked. The Modal Dialog (which is hidden by default) is refreshed and now contains a valid result from the IS Service. After the Modal Dialog is refreshed, the Modal Dialog is toggled Open which displays the results.
Regards,
–mark
#MWS-CAF-Task-Engine#webMethods-BPMS#webMethods