This function checks all workflows related to the record and the SharePoint List Setup. This function will return "TRUE", if all workflows are approved. Otherwise "FALSE" is returned and it returns the name of the first non-approved or rejected Workflow in "_FirstNotApprovedWFName_ReturnValue".
Return:
True when all workflows are approved.
Parameters:
"_Record" - Specifies the record.
"_SharePointListSetupCode" - If this parameter is empty, the function will look for all SharePoint List Setups that are connected with the record/table (record conditions are also applied). The maximum number of characters is 20.
"_FirstNotApprovedWFName_ReturnValue" - If any workflow isn't approved, this parameter returns the first non-approved or rejected workflow name.