Flow designer flow is not triggering and it's not showing any error messages also

rajasekharteja
Tera Guru

Hello Everyone,


I got stuck where Approval's are not getting triggered for the job and I could see there is no execution entry created when we submit from Draft state to submit to 'Awaiting Approval'.

 

If we submit directly without using Draft option the flow is getting triggered and approvals are getting generated.

 

I have checked all the Business rules on that particular table and tried In activating the Business rule and tested but still unable to trigger the flow.

PFA flow.

 

I'm brainstorming on this , could anyone please help me with your inputs on this work. 

 

Thanks,

Raj

1 ACCEPTED SOLUTION

rajasekharteja
Tera Guru

Hello @K Akhila / @Michael Fry1 ,

Thanks for providing timely response.

As mentioned above in After update BR it's mentioned current.setWorkflow(false); so it's not triggering the flow now i'm triggering the flow using sn_fd.FlowAPI.startFlow and it's triggering the approval.

Thanks,

Raj

View solution in original post

11 REPLIES 11

Michael Fry1
Kilo Patron

The flow doesn't trigger because the trigger conditions are false. This is a custom table with a custom field? What values are set on the state field?

Hello Michael,

 

Thanks for taking a look at this one.

 

As I stated above It's triggering the approvals when we submit the form/record producer directly but here the issue is when we submit using Draft Ui action then it's not triggering the approvals.

 

i.e.., Even though the trigger conditions are meeting it's not evaluating to True when we submit a draft record.

 

JFYI:

I have checked the history of both the records the one which is submitted directly and the one which is submitted using Draft button both the records doesn't have any Old State value after submission, the only state value is Awaiting Approval.

 

 

Thank you 

Can't your trigger just be IS vs changes to?

Hello Michael,

 

I have changed trigger condition to IS but it's still not triggering flow.

 

Thanks,