BPM Data Forms -- call from 4gl

Thanks for the response
I found the .P file that the BPM's create and it looks like you could do it if you are creating the .P file and calling it.
On another note...
If you call a BPM Data form and it a hard stop is triggered, the BPM Data form is populated with the prior entry when you submit the form again.
Figured out that you can add an additional 4gl call to clear out the BPMCallContext variable to always start with an un-populated form.

________________________________

From: vantage@yahoogroups.com on behalf of Kevin Simon
Sent: Mon 5/9/2011 10:58 PM
To: vantage@yahoogroups.com
Subject: RE: [Vantage] BPM Data Forms -- call from 4gl




Sean,

I thought you could do that as well in the code, but I've never been able to
get it to work. Virtually everything else I've been able to duplicate in
the code.

What I found I've had to do is use the fact you can order when the BPM's
trigger. I'll have a "10" sequence BPM running 4GL code, and sets the
BPMCallContext variables. Then, the "20" sequence BPM will call the data
form. Then I have a "30" sequence BPM that does further post-processing,
again using the BPMCallContext variables to pass info from directive to
directive.

Kevin

From: vantage@yahoogroups.com <mailto:vantage%40yahoogroups.com> [mailto:vantage@yahoogroups.com <mailto:vantage%40yahoogroups.com> ] On Behalf Of
Sean McDaniel
Sent: Monday, May 09, 2011 10:01 AM
To: vantage@yahoogroups.com <mailto:vantage%40yahoogroups.com>
Subject: [Vantage] BPM Data Forms -- call from 4gl

Can anyone provide some assistance on how to call a BPM Data Form from
within 4GL code?

Since everything else in the BPM action drop-down can be done in 4gl
code, I'm assuming that this would as well, but haven't seen anything.

[Non-text portions of this message have been removed]

[Non-text portions of this message have been removed]






[Non-text portions of this message have been removed]
Can anyone provide some assistance on how to call a BPM Data Form from
within 4GL code?

Since everything else in the BPM action drop-down can be done in 4gl
code, I'm assuming that this would as well, but haven't seen anything.



[Non-text portions of this message have been removed]
Sean,



I thought you could do that as well in the code, but I've never been able to
get it to work. Virtually everything else I've been able to duplicate in
the code.



What I found I've had to do is use the fact you can order when the BPM's
trigger. I'll have a "10" sequence BPM running 4GL code, and sets the
BPMCallContext variables. Then, the "20" sequence BPM will call the data
form. Then I have a "30" sequence BPM that does further post-processing,
again using the BPMCallContext variables to pass info from directive to
directive.



Kevin



From: vantage@yahoogroups.com [mailto:vantage@yahoogroups.com] On Behalf Of
Sean McDaniel
Sent: Monday, May 09, 2011 10:01 AM
To: vantage@yahoogroups.com
Subject: [Vantage] BPM Data Forms -- call from 4gl





Can anyone provide some assistance on how to call a BPM Data Form from
within 4GL code?

Since everything else in the BPM action drop-down can be done in 4gl
code, I'm assuming that this would as well, but haven't seen anything.

[Non-text portions of this message have been removed]





[Non-text portions of this message have been removed]