Method Directive BPM - Invoke BO Method - Guid Type Parameter?

My issue: trying to use the Invoke BO Method caller in a method directive BPM. The BO method being invoked is Erp.JobEntry.AddOperation. I don’t really understand how to set the parameters. One of the parameters says “ipJobAsmblRowID”, which I thought might mean I need to specify which assembly to add the operation under. But the data type is Guid, and I don’t know what that means or how to set it :slight_smile: would appreciate an explanation there!

What I’m trying to accomplish: when a new job is created and the user “Gets Details,” I want the system to automatically add a certain operation code if it’s not already in the job. I figured I could add a post-processing method directive on JobEntry.GetDetails with a condition that evaluates if the operation code is there, and if not, invokes the JobEntry.AddOperation method. But I am open to other suggestions!

Here’s what I have so far:

The GUID being referred to is the SysRowID of the JobAsmbl record it is related to.

Try adding an operation manually (via the UI) with trace enabled, and then you can see what is being used.

Probably should be:

ttJobAsmblRow.SysRowID

Thank you, Calvin! Going to try the trace log. I haven’t done that before, couldn’t ever find the file. Going to get with my system admin to figure that out.

Hey that worked!!! Thanks so much.

@ckrusen how did you come up with that? Would it be evident in the trace log?

I was expecting that the params would be in the trace log. But actually, I couldn’t figure out how to get JobEntry.AddOperation() to fire. So I took a guess.

edit

the “magic” part was having the experience of knowing that SysRowID is the absolute identifier of a record, and it is of type GUID

1 Like

Got it, thanks! :slight_smile: