Hello, I fell a little lost in trying to change the workflow status of an entity.
The workflow is the “default” fibery workflow with Open, In Progress, Done.
With the query below I changed the Name [enum/name] of the whole
workflow state and not the state of the entity.
db_sync_cmd = [
‘[{’,
‘“command”:“fibery.entity/update”,’,
‘“args”:{’,
‘“type”:“workflow/state_Projekt Planung/Task”,’,
‘“entity”:{’,
f’“fibery/id”:"{fib_task[“workflow/state”][“fibery/id”]}",’,
f’“enum/name”:“In Progress”’,
‘}’,
‘}’,
‘}]’,
]
fib_task[“workflow/state”][“fibery/id”] =
ID of the workflow status I got from the query I do initially to get entity information
{“workflow/state”: [“fibery/id”, “enum/name”]}