Class Process

Hierarchy

  • Process

Constructors

Accessors

Methods

  • Use this to add a function as an event handler for the OnPreProcessStatusChange event so that it will be called before the business process flow status changes.

    Parameters

    • handler: Xrm.Events.ProcessStatusChangeHandler

      The function will be added to the bottom of the event handler pipeline. The execution context is automatically set to be the first parameter passed to the event handler. Use a reference to a named function rather than an anonymous function if you may later want to remove the event handler.

    Returns void

  • Use this to add a function as an event handler for the OnPreStageChange event so that it will be called before the business process flow stage changes.

    Parameters

    • handler: StageChangeEventHandler

      The function will be added to the bottom of the event handler pipeline. The execution context is automatically set to be the first parameter passed to the event handler. Use a reference to a named function rather than an anonymous function if you may later want to remove the event handler.

    Returns void

  • Use this to add a function as an event handler for the OnPreProcessStatusChange event so that it will be called when the business process flow status changes.

    Parameters

    • handler: Xrm.Events.ProcessStatusChangeHandler

      The function will be added to the bottom of the event handler pipeline. The execution context is automatically set to be the first parameter passed to the event handler. Use a reference to a named function rather than an anonymous function if you may later want to remove the event handler.

    Returns void

  • Use this to add a function as an event handler for the OnStageChange event so that it will be called when the business process flow stage changes.

    Parameters

    • handler: StageChangeEventHandler

      The function will be added to the bottom of the event handler pipeline. The execution context is automatically set to be the first parameter passed to the event handler. Use a reference to a named function rather than an anonymous function if you may later want to remove the event handler.

    Returns void

  • Use this to add a function as an event handler for the OnStageSelected event so that it will be called when a business process flow stage is selected.

    Parameters

    • handler: Xrm.Events.ContextSensitiveHandler

      The function will be added to the bottom of the event handler pipeline. The execution context is automatically set to be the first parameter passed to the event handler. Use a reference to a named function rather than an anonymous function if you may later want to remove the event handler.

    Returns void

  • Use this to remove a function as an event handler for the OnPreProcessStatusChange event.

    Parameters

    Returns void

  • Use this to remove a function as an event handler for the OnPreStageChange event.

    Parameters

    • handler: StageChangeEventHandler

      If an anonymous function is set using the addOnPreStageChange method it cannot be removed using this method.

    Returns void

  • Use this to remove a function as an event handler for the OnProcessStatusChange event.

    Parameters

    Returns void

  • Use this to remove a function as an event handler for the OnStageChange event.

    Parameters

    • handler: StageChangeEventHandler

      If an anonymous function is set using the addOnStageChange method it cannot be removed using this method.

    Returns void

  • Use this to remove a function as an event handler for the OnStageChange event.

    Parameters

    Returns void

Generated using TypeDoc