Hola! ¡Tenemos nuestra Comunidad en Español!

Can't replace a deleted workflow extension with the same name

SOLVE
Regular Contributor

Hi,

 

We made a mistake in the URL of the two workflow extensions that we created. We then deleted them both and tried to add them again with the new URLs. It's preventing us from adding anything with the same extension name (which we really want to use) even though we have no active extensions (they show up with a deletedAt date). If we'd know that was going to happen, we just would have updated it.

 

Any help would be greatly appreciated!

Reply
0 Upvotes
1 Accepted solution

Accepted Solutions
HubSpot Moderator

Hey @brianjlowry , looks like we don't have anything in the API publicly facing for an event like this, but I could do something manual to get things working. Is your ideal world undeleting an older version, or would you rather I just purge your old extension and have you create a new one?

 

Can you also please respond with your App ID?

8 Replies 8
HubSpot Moderator

Hi @brianjlowry , you should still be able to update those Workflow Definitions by following the steps in the "Update a workflow extension definition". The DELETE method just removes your extnension as an option for folks that use your app: 

 

"Deleting a workflow extension definition results in removing it as an option in your users’ workflows. The custom actions that were created remain in the workflows, but contacts enrolled in the workflow will skip those actions."

 

If you update the workflow definition, you can still use the same name and this will act as your "new" extension that your customers can use. You just need to specify a version, latestVersion, and id property in your PUT request.

Reply
0 Upvotes
Regular Contributor

Hi again @cbarley,

 

Right, we've already deleted them. Is there a way to undelete through the update call? Can we null out the deletedAt field or something else?

 

To be clear, no clients are using this yet.

 

Thanks!

Reply
0 Upvotes
HubSpot Moderator

Ah okay, I see what you mean. Let me dig into this with my team and I'll get back to you asap.

Reply
0 Upvotes
HubSpot Moderator

Hey @brianjlowry , looks like we don't have anything in the API publicly facing for an event like this, but I could do something manual to get things working. Is your ideal world undeleting an older version, or would you rather I just purge your old extension and have you create a new one?

 

Can you also please respond with your App ID?

Regular Contributor

Hi @cbarley,

 

Thanks again for coming to the rescue! At this point deleting all 4 would be ideal. We now know what not to do (delete). Smiley Happy

 

AppId: 43882

 

I appreciate your help!

Reply
0 Upvotes
HubSpot Moderator

Hey @brianjlowry , sounds good and no problem! We'll have a fix out for you by the end of the day (hopefully sooner).

Reply
0 Upvotes
HubSpot Moderator

All set @brianjlowry !

Highlighted
Regular Contributor

Thanks again! I really appreciate the help, @cbarley.