Function preprocessWorkflowTemplates

  • Remove feature service templates that will be auto-generated by Workflow when creating the Workflow item.

    Also store key values from any Workflow items so we can update variables in other items.

    Parameters

    • templates: IItemTemplate[]

      The list of all templates from the Solutions

    • templateDictionary: any

      Hash of facts: folder id, org URL, adlib replacements

    Returns IPreProcessWorkflowTemplatesResponse

    An object that contains the items that should use standard deployment and templates that will be deployed by Wokflow deployment.