데이터 수정시 워크 플로 작업을 자동으로 완료하는 방법은 무엇입니까?
-
10-12-2019 - |
문제
현재 SharePoint에서 구매 오더 워크 플로를 사용하고 있으며 항목 생성을 위해이 작업을 자동으로 실행하여 워크 플로를 실행합니다.SPD에서 워크 플로를 만들고 있습니다. 의 핵심 부분입니다.
Set content approval status to Pending with Awaiting approval from [%Parameter:MainApprover%]
then Assign Approve New PO (Tier 1) to Parameter: MainApprover
then Wait for Approval Status to equal 0;#Approved
then Update item in current item
.
보시다시피 승인 상태를 보류 중에 설정 한 다음 지정된 승인자가 승인 할 수있는 작업을 만듭니다.승인자가 '승인 / 거부 / 거부'메뉴 버튼을 사용하여 자신의 단어를 제공합니다.그들이이 작업을 수행하면 실제로 승인 된 상태를 업데이트하지만 '기다릴 때 ...'비트 이후에 활성화되지 않습니다.
나는 그들에게 할당 된 작업을 체크칩니다. 승인자가 '완료'를 클릭하고 갑자기 모두 완벽하게 작동 할 수있는 작업으로 '시작되지 않음'입니다.
내 질문은 다음과 같습니다. 승인자가 '승인 상태'필드를 변경할 때 작업 완료를 자동화하려면 어떻게합니까?
도움이 많이 감사드립니다.
해결책
As far as I know, in both SharePoint Designer and Visual studio workflows, assigning a new task will pause execution of the workflow until it is complete. In visual studio workflows however, there is this useful option:
If it is set to false, the workflow will continue execution without waiting for the user to accept it. If the SharePoint designer activity does not provide this option, you can always create a custom (declarative) visual studio workflow activity that exposes that parameter.