Skip to Content
Former Member
Mar 22, 2007 at 09:12 PM

Check FMs vs conditions on triggering (start) events


On page 6-17 of the BIT610 course manual, it warns that if you use a check FM on a start event for a workflow, then inside the check FM you may not get the attribute values you expect if the event is the "created" event of a business obect. (This is because some business objects are created before the actual DB commit, and when this is the case, the check FM may find nothing in the DB for the object attributes it's trying to check).

So here's my question.

Apart from actually testing, how can you tell whether it's safe to code a check module for a "created" event?

Reason I'm asking is that I'd like to remove some "start conditions" on the triggering event of the workflow itself and put them in a check FM. But how do I know this is safe (other than actually testing?)

I have a follow up question to this one, but want to get this one straightened-out first.