VMware Cloud Community
DexG83
Enthusiast
Enthusiast
Jump to solution

delete completed,failed and canceled Workflow token?

Hello Community,

I'm actually creating a cleanup workflow to delete finished workflow token before a specific point in time.

Unfortunately I can't find any method to delete workflow token.... or a way to set the attribute "isStillValid" to false ;D

In Swagger UI I found a REST method:

delete  /api/workflows/{workflowId}/executions/{executionId}

Is there any possibility to get this done without REST?

Many thanks and kind regards

Tags (2)
Reply
0 Kudos
1 Solution

Accepted Solutions
iiliev
VMware Employee
VMware Employee
Jump to solution

isStillValid is not meant to be used as a way to manually change/delete the workflow token.

Deleting a workflow token is currently not exposed via scripting API.

View solution in original post

Reply
0 Kudos
2 Replies
iiliev
VMware Employee
VMware Employee
Jump to solution

isStillValid is not meant to be used as a way to manually change/delete the workflow token.

Deleting a workflow token is currently not exposed via scripting API.

Reply
0 Kudos
DexG83
Enthusiast
Enthusiast
Jump to solution

I used the REST-API to delete the WF Token ;D

Reply
0 Kudos