Closed sgupta1007 closed 10 months ago
The API of Process Builder doesn't accept flow.Element, it accepts Process Builder Tasks, and such task has a cls
argument, which allows you to specify the flow.Element, e.g. UserTask
so just change:
UserTask(name='Inside nested branch')
into
Task(name='Inside nested branch', cls=UserTask)
and you get:
Describe the bug I am trying to add task type instead of simple tag in Branch inside a process .Code instead of producing correct diagram is producing bug
Code Code using BPMN to produce the bug
Expected behavior I am expecting this diagram
Original behavior