Call a BPM form via Custom Code?

Is it possible to call a BPM form from a custom code block? If so, what’s the correct syntax?

Yes, however it is a lot easier to have a Custom Code Block (check some stuff ) IF TRUE, ThenCall BPM Form (widget) then Run some more custom code.
Also more upgrade friendly.

4 Likes

How would you do it in code?

Like if you needed debugging info inside a For loop. This would really be for debugging during development of the BPM custom code.

And I’d rather use log files.

Something like this

this.BpmDataFormProcess("Close Order Rsn");

or this

if(this.BpmDataFormCanProcessImmediately("Close Order Rsn", true))
                {
                    return this.BpmDataFormProcess("Close Order Rsn");
                }
3 Likes