Error - "Workflow failed to start" - in 'Call a Workflow' flow logic

nirwan_ritik
Tera Contributor

Hi Community,

-> We have a knowledge related subflow where we are using the OOB 'Call a Workflow' flow logic.

-> We are calling the 'Knowledge - Instant Publish' workflow in this flow logic.

-> Passing the knowledge article object as an input parameter.

-> But, when triggered, it's returning an errored flow execution.

-> Help us understand the below error.

nirwan_ritik_0-1764676551356.png

 

Regards,
Ritik 🙂

 

1 ACCEPTED SOLUTION

Viraj Hudlikar
Tera Sage
Tera Sage

Hello @nirwan_ritik 

 

Did you tried to check the flow engine context and flow logs what error is showing up after expanding logs just below the step where it has failed.
Also, are you passing the knowledge article correctly? Is this happening by any inline script or just by data pill picker?
The record you are passing is it on knowledge table with Class as knowledge [sys_class_name=kb_knowledge] try to pass such record then this step will work else it will fail. Reason behind this as workflow is set on knowledge table.

 

If you check below screenshot you will get idea which I quickly tried in PDI.

VirajHudlikar_0-1764682560745.png

VirajHudlikar_1-1764682616384.png

VirajHudlikar_2-1764682652305.png

VirajHudlikar_3-1764682764177.png

 

If my response has helped you, hit the helpful button, and if your concern is solved, do mark my response as correct.

 

Thanks & Regards
Viraj Hudlikar.

View solution in original post

2 REPLIES 2

Viraj Hudlikar
Tera Sage
Tera Sage

Hello @nirwan_ritik 

 

Did you tried to check the flow engine context and flow logs what error is showing up after expanding logs just below the step where it has failed.
Also, are you passing the knowledge article correctly? Is this happening by any inline script or just by data pill picker?
The record you are passing is it on knowledge table with Class as knowledge [sys_class_name=kb_knowledge] try to pass such record then this step will work else it will fail. Reason behind this as workflow is set on knowledge table.

 

If you check below screenshot you will get idea which I quickly tried in PDI.

VirajHudlikar_0-1764682560745.png

VirajHudlikar_1-1764682616384.png

VirajHudlikar_2-1764682652305.png

VirajHudlikar_3-1764682764177.png

 

If my response has helped you, hit the helpful button, and if your concern is solved, do mark my response as correct.

 

Thanks & Regards
Viraj Hudlikar.

Hi Viraj, 

Thanks for the answer. Turned out the articles we were passing to the workflow -> were of different classes within knowledge.

Regards,
Ritik