문제

목록 항목의 moderinginformation.status가 변경되면 사용자 정의 승인 워크 플로우가 실행되지 않도록하는 방법을 누구든지 알 수 있습니까? Visual Studio를 사용하여 작성한 맞춤 승인 워크 플로우가 있습니다.이 목록의 모든 항목이 변경되면 목록과 연관되며 트리거됩니다. 내 문제는 워크 플로가 실패한 경우 (모든 이유로) 관리자 권한을 가진 사용자가 변경 사항을 수동으로 승인 (워크 플로우가 아닌) 워크 플로가 다시 시작됩니다.누군가가 그렇게하지 못하게하는 방법을 제안 할 수 있습니까?아니면 뭔가 잘못하고 있니?

도움이 되었습니까?

해결책

Get the approval status early in the execution (during onworkflowactivated), the workflow only need to be executed fully if the target item Approval Status is still pending. Then right below the onworkflowactivated activity drag drop an if-else activity to check the Approval Status value. If it still pending then execute the rest of the workflow and if it is not pending, terminate the workflow. You can refer here for more details. Hope this helps

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 sharepoint.stackexchange
scroll top