Join the #BuildWithBuildAgent Challenge! Get recognized, earn exclusive swag, and inspire the ServiceNow Community with what you can build using Build Agent.  Join the Challenge.

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 REPLY 1

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.