Hello,
we are trying to insert CR_WF if some category ticket is created and had no parent tiket but we are unable to do this with insert_object spel api method. It gots no error which could be specified in std.log but keeps time-outs which is super anoying to debug.
We have a following code:
uuid who;
object newObject;
send_wait(0, top_object(), "call_attr", "cnt", "current_user_id");
who=msg[0];
send_wait(0, top_object(), "call_attr", "api", "insert_object", who, 'cr_wf', NULL, 0, "object_type", 'cr', "cr", persistent_id, "sequence", 20, "task", "APP", "wf_template", 400060);
Do you anybody please know if CR_WF object can be created via this api method? because CA 17x have some issues with add_workflow and delete_workflow for CR_WF factory.
Thank you very much in advance for any hint.
Best regards,
Petr P.