Auto close requested item when all catalog tasks are closed using Flow Designer

Corey Harris
Kilo Expert

Good morning developers,

I know this question has been asked several times on here but I haven't found a solution that meets my requirements. The only thing I'm trying to do is automatically close the requested item once all catalog tasks have been closed using flow designer but nothing I tried works. Here are the conditions I'm using to update the requested item:

find_real_file.png

Could someone help me figure out what I'm doing wrong?

 

Best regards,

 

cnharris

1 ACCEPTED SOLUTION

DrewW
Mega Sage
Mega Sage

What exactly is not working?  Is it closing the Requested item to soon, not at all, or something else?

Last I tried this all you needed to do is have a very last step that set the stage to "Complete" and the Requested Item would close.  So try adding a last step that really does nothing and adding the stage "Complete" to that.

 

View solution in original post

11 REPLIES 11

Thanks Drew! I just checked out the knowledge article and followed the directions exactly as far as creating an update record to mark the stage complete but still nothing:

find_real_file.png

 

I even added setting the state to complete and setting active to false but that didn't work either. I may have to submit a HI ticket to see what's going on.

Is there a regular workflow attached to the Requested Item?  That could cause these kinds of issues.

 

You could also do some business rule debugging to see if there is a BR getting in your way.

 

Geoff_T
Mega Sage

Hi,

Similar to what Drew mentioned; from my experience having the 'Completed' stage added does the trick. (I'm sure it triggers the 'Set Active Flag' business rule on the sc_req_item table).

 

Geoff

Thanks Geoff! Yeah I tried doing that but that still didn't work for me.