をご確認ください。
<flags>
<!--
Developer debugging setting to turn on DEBUG mode for client scripts in the browser
-->
<client-debug>false</client-debug>
<!--
LOGGING can always be toggled at runtime when in DEBUG mode (Ctrl, Ctrl, Shift, Shift).
This flag automatically activates logging on page load.
-->
<client-debug-autologging>false</client-debug-autologging>
<!--
When this is set to true any Aikau based errors will be posted back to the server and
captured by the server side logging. This can be useful to detect when errors occur in
a users browser -->
<post-client-debug>false</post-client-debug>
</flags>
getWorkflowDefinitions()
方法は、隠されたワークフローをexclusingしてインスタンスで実行されているすべてのワークフローを返します。これらの隠されたワークフローリストは、それらを無視するためにRepoに送信されます。
hidden-workflowの詳細は、share-config.xmlファイルで確認できます。
下記の説明でインラインコメントを追加しました。
function getWorkflowDefinitions()
{
// Get the hidden workflow list from Share-config or share-config-custom.xml
var hiddenWorkflowNames = getHiddenWorkflowNames(),
connector = remote.connect("alfresco"), //create connection to Alfresco repository
//Get request to repo and telling repo ignore some of the workflows also
result = connector.get("/api/workflow-definitions?exclude=" + hiddenWorkflowNames.join(","));
if (result.status == 200)
{
var workflows = JSON.parse(result).data;
//Sort the workflows based on their title
workflows.sort(sortByTitle);
return workflows;
}
//If there are not workflows, just return empty list to the client.
return [];
}
<!-- A list of workflow definitions that are NOT displayed in Share -->
<hidden-workflows>
<!-- Hide all WCM related workflows -->
<workflow name="jbpm$wcmwf:*"/>
<workflow name="jbpm$wf:articleapproval"/>
<!-- Hide publishing workflows -->
<workflow name="activiti$publishWebContent"/>
<workflow name="jbpm$publishWebContent"/>
<!-- Hide invitation workflows -->
<workflow name="jbpm$inwf:invitation-nominated"/>
<workflow name="jbpm$imwf:invitation-moderated"/>
<workflow name="activiti$activitiInvitationModerated"/>
<workflow name="activiti$activitiInvitationNominated"/>
</hidden-workflows>
これについて助けが必要な場合は、私にお知らせください。