TriggerWorkflow
This function will be used to trigger the SharePoint workflow associated with the conditions and actions of the items in SharePoint lists and libraries from AppForms.
Syntax:
TriggerWorkflow(SiteURL, WorkflowName, ListName, Id)
Example:
TriggerWorkflow(“http://sys97/QATest/emailworkflow/emailworkflow”,”emailworkflow”,”workflow”,txtid.Value)