BPM Invoked BO CallContextBpmData is empty

Have a simple method directive on Quote.CreateOrder.
image

The ShowMessage is debug. It shows the Order# and Quote# with correct values
The custom code sends an Order Ack
I set CallContextBpmData.Number02 to orderNum
Invoke UD39.GetaNewUD39

I have ShowMessage in the UD39.GetaNewUD39 which is:
Order=<callContextBpmData.Number02/> Quote=<callContextBpmData.Number01/>

The message shows “Order=0 Quote=0”

Seems like I am missing some understanding of how CallContextBpmData works.

This was working up till the start of March 2025

Apologize ahead of time for the confusing question :confused:

Exists for the Duration of a BO Call it doesn’t (without some effort) pass itself to other 2nd party BOs that you call from that BPM Directly unless you specifically do something about it. You are using the Invoke BO Method widget which doesn’t give you that flexibility.

Custom code might do it but even that might be hit in mass with this particular usage.

Thanks for the information Jose. Appreciate your excellent and generous help.

Should I consider using session variables?

I need more context as to what you are trying to do. This sounds like the job for a Function, which can be invokved from UD39 and also from Quote.

4 Likes