Nav 2016 workflow event parameters


Been doing a lot of work with workflows and events lately but was just wondering about a few things. When you add a workflow event to the library you call this function:

WorkflowEventHandling.AddEventToLibrary(MyWorkflowEventCode,DATABASE::”Purchase Header”,’A purchase header is posted.’,0,FALSE);

What I am wondering is, what are the last two parameters for?
The 0 is set for the RequestPageID parameter. The FALSE is set for the UsedForRecordChange parameter.
I have tried changing these parameters a bit, but nothing noticeable is happening.

If anyone knows what these two parameters do that would be great!


Ryan Erb