BPM Data Form Launch From ABL Code

I took Jose's advice and looked at a .p file and this is what I found:


define variable isHandlerInvoked as logical no-undo initial false.
run ProcessInfoPromptAction(input "*BO name.BO Function *_BO_Pre112_A1", input "*BPM Form Name*|a|", output isHandlerInvoked).

It works as I wanted.


Thanks,
Good Morning,
I would like to launch a BPM Data Form from a method directive dynamically. Essentially, write abl code to launch a BPM Form in a BPM. What I want to do is to launch a form at the end of a MES indirect activity asking the user for some input. The form is dependent on the resource that the indirect activity was created for. I have close to 70 different resources and thus the same amount of BPM forms. To create a BPM for each is too time consuming and not to mention unmaintainable.
Some psudocode for the dynamic BPM Form launcher BPM would look like

Var res as character.
For each ttlabordtl.
assign res = ttlabordtl.resource.
end.
Run code that launches bpm form ( res + "BPMForm").
Do the rest Â…

I would appreciate your input!
Epicor 9.06.607a
SQL 64-bit

-Joel Obando
i Suggest you write 1 BPM and once its done look a the generated .P to see
how Epicor calls BPM Forms.. then try to replicate


*Jose C Gomez*
*Software Engineer*
*
*
*
*T: 904.469.1524 mobile
E: jose@...
http://www.josecgomez.com
<http://www.linkedin.com/in/josecgomez> <http://www.facebook.com/josegomez>
<http://www.google.com/profiles/jose.gomez> <http://www.twitter.com/joc85>
<http://www.josecgomez.com/professional-resume/>
<http://www.josecgomez.com/feed/>
<http://www.usdoingstuff.com>

*Quis custodiet ipsos custodes?*


On Fri, Aug 9, 2013 at 8:53 AM, joel_obando@... <joel_obando@...
> wrote:

> **
>
>
> Good Morning,
> I would like to launch a BPM Data Form from a method directive
> dynamically. Essentially, write abl code to launch a BPM Form in a BPM.
> What I want to do is to launch a form at the end of a MES indirect activity
> asking the user for some input. The form is dependent on the resource that
> the indirect activity was created for. I have close to 70 different
> resources and thus the same amount of BPM forms. To create a BPM for each
> is too time consuming and not to mention unmaintainable.
> Some psudocode for the dynamic BPM Form launcher BPM would look like
>
> Var res as character.
> For each ttlabordtl.
> assign res = ttlabordtl.resource.
> end.
> Run code that launches bpm form ( res + "BPMForm").
> Do the rest �
>
> I would appreciate your input!
> Epicor 9.06.607a
> SQL 64-bit
>
> -Joel Obando
>
>
>


[Non-text portions of this message have been removed]
I code an event to write to a UD Field, when updated triggers the BPM.

Brenda

-----Original Message-----
From: vantage@yahoogroups.com [mailto:vantage@yahoogroups.com] On Behalf Of Jose Gomez
Sent: Friday, August 09, 2013 8:57 AM
To: Vantage
Subject: Re: [Vantage] BPM Data Form Launch From ABL Code

i Suggest you write 1 BPM and once its done look a the generated .P to see how Epicor calls BPM Forms.. then try to replicate


*Jose C Gomez*
*Software Engineer*
*
*
*
*T: 904.469.1524 mobile
E: jose@...
http://www.josecgomez.com
<http://www.linkedin.com/in/josecgomez> <http://www.facebook.com/josegomez>
<http://www.google.com/profiles/jose.gomez> <http://www.twitter.com/joc85>
<http://www.josecgomez.com/professional-resume/>
<http://www.josecgomez.com/feed/>
<http://www.usdoingstuff.com>

*Quis custodiet ipsos custodes?*


On Fri, Aug 9, 2013 at 8:53 AM, joel_obando@... <joel_obando@...
> wrote:

> **
>
>
> Good Morning,
> I would like to launch a BPM Data Form from a method directive
> dynamically. Essentially, write abl code to launch a BPM Form in a BPM.
> What I want to do is to launch a form at the end of a MES indirect
> activity asking the user for some input. The form is dependent on the
> resource that the indirect activity was created for. I have close to
> 70 different resources and thus the same amount of BPM forms. To
> create a BPM for each is too time consuming and not to mention unmaintainable.
> Some psudocode for the dynamic BPM Form launcher BPM would look like
>
> Var res as character.
> For each ttlabordtl.
> assign res = ttlabordtl.resource.
> end.
> Run code that launches bpm form ( res + "BPMForm").
> Do the rest ...
>
> I would appreciate your input!
> Epicor 9.06.607a
> SQL 64-bit
>
> -Joel Obando
>
>
>


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



------------------------------------

Useful links for the Yahoo!Groups Vantage Board are: ( Note: You must have already linked your email address to a yahoo id to enable access. )
(1) To access the Files Section of our Yahoo!Group for Report Builder and Crystal Reports and other 'goodies', please goto: http://groups.yahoo.com/group/vantage/files/.
(2) To search through old msg's goto: http://groups.yahoo.com/group/vantage/messages
(3) To view links to Vendors that provide Vantage services goto: http://groups.yahoo.com/group/vantage/linksYahoo! Groups Links