Can a bpm method directive fire from another previous bpm method directive?

I have a bpm method directive that creates a ud11 table row. How can I fire another different bpm method directive which fires when the ud11 table row is added from my previous bpm method directive. It looks like a bpm cannot fire another bpm? Is this true?

Please help!

Thanks,
Richard

Do your add in a PRE method directive and add the widget at the end to enable POST.
Then create a POST method directive starting off with a condition to check if it was fired from the PRE.

Thank you for your reply Aaron. Here is more detail of my situation:

  1. Create a ud11 row when Pre Labor.CheckWarnings fires with a labor qty > 0.
  2. Fire another bpm method directive UD11.Update pre, base or post when the bpm in number 1 above creates the ud11 row.

I am not familiar with the Post enable and will educate myself on it. Is it only available in 1 BPM flow as opposed to 2 different BPM’s?

Thank you,
Richard

Thanks,
Richard

In that case, I would do your second BPM on a UD11 InTrans Data Directive.
Make the first condition off of start be ā€œā€¦at least one Added row in UD11ā€.

1 Like

Hi Richard,
In general, you cannot fire BPM directives at all. It is the responsibility of the runtime.

Both Aaron’s suggestions are correct. You need to use the one more relevant for your task.

  • You can add another PRE directive with ā€œorderā€ greater than the first one and use the condition block that checks some conditions. For example, you can set a BPM Data context field in one directive, and check it in another.
  • You can use Enable Post-Proc widget in your directive, then add a POST directive and use ā€˜is enabled by XXX directive’ condition in it.