# Nav 2016 workflow event parameters

**URL:** <https://www.dynamicsuser.net/t/nav-2016-workflow-event-parameters/60659>\
**Category:** Developers Forum\
**Created:** [May 11, 2016, 1:31pm UTC](https://www.dynamicsuser.net/t/nav-2016-workflow-event-parameters/60659 "2016-05-11T13:31:21Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![LittleRy](https://avatars.discourse-cdn.com/v4/letter/l/cdc98d/32.png) [@LittleRy](https://www.dynamicsuser.net/u/LittleRy)\
**Post date:** [May 11, 2016, 1:31pm UTC](https://www.dynamicsuser.net/t/nav-2016-workflow-event-parameters/60659/1 "2016-05-11T13:31:21Z")

</div>

Hello,

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:

```auto
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!

Thanks,

Ryan Erb

```
