Flow not triggered by Service Catalog

petercawdron
Kilo Guru

I have a catalog item that is linked to a flow, but the flow never fires and I'm not sure why.

It all seems simple enough to set up, but nothing happens when I order an item. Have I missed a configuration step?

find_real_file.png

find_real_file.pngIf I submit a record from the portal it creates an RITM. If I then test this flow using that RITM record, the flow itself works fine and creates the catalog task record, the flow itself, though, just never gets triggered when the record is created from the portal.

Is there some system property or something I might have missed?

1 ACCEPTED SOLUTION

Okay, I've figured it out... the table sc_req_item has a business rule called Start FlowDesigner Flow that controls the activation of Flows, and it hinges on the stage being request_approved (something that's not used where I'm currently working). Once I took that into account, the flow kicked off nicely...

 

Thanks,

find_real_file.png

View solution in original post

19 REPLIES 19

Okay, I've figured it out... the table sc_req_item has a business rule called Start FlowDesigner Flow that controls the activation of Flows, and it hinges on the stage being request_approved (something that's not used where I'm currently working). Once I took that into account, the flow kicked off nicely...

 

Thanks,

find_real_file.png

Grt .

Hi Peter,

I have the same problem that you've described above. I see that this business rule will only start the FlowDesigner flows if the current.stage === request_approved.  However when the user fills out the service catalog request, the value for the sc_req_item is set to waiting_for_approval. There are no associated approval records because my flow was not started (which is where I wanted to create the approval records for the assignment_group).

So, how do I properly get my Flow to start upon initial creation of the Catalog request? I have mine setup exactly like you do with my sc_req_item pointing to my flow.  But still, my flow will not trigger. It only works when testing it from Flow Designer admin screen. Thanks.

Todd

Todd,

You should be able to change the condition to "waiting_for_approval" and it'll work.. just don't forget to make sure your flow then updates the stage as approvals come in.

Cheers.

find_real_file.png

Yep, that's the ticket and thank you. I also posted a lengthy question on my own and finally figure it out as well. Here's my post that has a lot of detail too that might also help others. 

 

Separate post on same topic with some more details