Update Case Action - stuck in Draft

Hurleybird
Tera Expert

I've been looking into an issue/bug, which lead me to the Auto Close Resolved Cases Flow. I've stumbled into a bit of a catch-22. In order to make a change to the Auto Close Resolved Cases flow, I need to re-publish the amended flow. When I do so, it complains that the Update Case Action is not published:

"Error. Could not publish flow as Action Instance is not published"

When I go to the Update Case Action instance, it's a read-only action in a draft state. Attempting to publish it results in the following error:

"Error. Bad Request. Required fields not supplied"

I have checked this behaviour in a very clean (not quite OOB) PDI and I find similar behaviour: I'm still unable to publish the Update Case action, however, I am able to publish a change to the Auto Close Resolved Cases flow.

All of the work I've done so far has been in our sub-prod instance. I see identical configuration and status of the flow and actions in Prod: Update Case Action is in Draft in Prod, and the Auto Close Resolved Cases flow is Published. I'm reluctant to make the change in Prod, in case I stumble into the same behaviour and end up with an unpublished Flow.

I'm confused why a published flow can include an action that is in Draft and cannot be published and I would appreciate some help on getting past my issue in sub-prod where I'm unable to re-publish the Auto Close Resovled Cases flow.

Many thanks!

8 REPLIES 8

BelenC
Tera Contributor

Thanks Yaron your resolution worked! I was struggling with this issue yesterday all day, you've made my day, changing the scope let me publish it!

you are a genius, thank you

Thanks @Yaron ! That helped..
I switched my scope to the scope where my copied action was in through application selector, and it worked!

Jean-Emmanuel 1
Tera Contributor

Hi,
I got the same error while publishing an action : "Error. Bad Request. Required fields not supplied"
I was not in the scope of the action.
After switching to the right scope, I've been able to publish it.