-
Type: Improvement
-
Status: Open
-
Priority: Minor
-
Resolution: Unresolved
-
Affects Version/s: 7.10-HF07
-
Fix Version/s: QualifiedToSchedule
-
Component/s: Workflow
-
Tags:
In an automation chain, retrieving the assignees for a given node requires to use many operations, such as the following example:
- Context.FetchDocument - Context.SetInputAsVar: name: zedocs - Context.RestoreDocumentInputFromScript: script: "This[0]" - Context.SetVar: name: docId value: "@{Document.id}" - Repository.Query: query: "SELECT * FROM TaskDoc WHERE ecm:isProxy = 0 AND ecm:isCheckedInVersion = 0 AND nt:type = '@{Context[\"nodeId\"]}' AND nt:targetDocumentId = '@{Context[\"docId\"]}' AND ecm:currentLifeCycleState NOT IN ('done', 'canceled')" language: NXQL sortOrder: ASC - Context.RestoreDocumentInputFromScript: script: "This[0]" - Context.SetVar: name: taskactors value: "@{Document[\"nt:actors\"]}" - Context.RestoreDocumentsInput: name: zedocs - Log: level: error message: "=========> @{Context[\"nodeId\"]} is assigned to @{Context[\"taskactors\"]}"
=> The value of nt:actors should be copied in the node variable named "assignees" automatically when entering the node.
- is required by
-
NXS-3349 Expose the assignees as a variable in automation
- Open