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).
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
> **
>
>
> 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
> **
>
>
> 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]