I made some progress and was able to identify the assignee for the rework step, so I'm no longer getting the error.
My question now is that for starting with completed batches, the initiator in the workflow records in "my tasks" is merely hardcoded to whatever value that's put into the Initiator field on the Startup Context information of the start event. Do I have the ability to adjust that?
We are still on 2024.2, and I do see that in 2024.3 there's a new automation called "set workflow metadata"....is that what I need? Or is there something I can do in 2024.2?
Here's a concise summary:Problem: In Semarchy 2024.2, workflow initiator for completed batches is hardcoded in the start event's Startup Context.Solution in 2024.2 (Limited): No direct way to dynamically adjust the initiator. Potential (but complex) workaround via custom database procedure.Best Solution (Future): Upgrade to Semarchy 2024.3 to use the "Set Workflow Metadata" automation. This feature lets you dynamically set the initiator using SemQL and literal values, solving your problem.
Michael BARTLEY
my workflow context type is "start from completed batch" from an integration job.
The initiator field is mandatory, however its just a text field, with no semql box to open. I'm trying to figure out what this means.
I do see that this initiator is assigned to the workflow. However, if I send the record back through a "rework" user task, Im having trouble finding the appropriate value in the "assignment condition" on the user task. the workflow errors out because "
Candidates are required for task ".
i want to assign the task back to the user who initiated the workflow. How do I do that?
By comparison, for a workflow that starts from an empty selection, the user task has a semql option for assignment condition, where I can assign "Username = StepInstance.WorkflowInstance.InitiatorName"
I cannot seem to do that with a start from completed batch. thanks in advance for any input!