DexG83
Enthusiast
Enthusiast

delete completed,failed and canceled Workflow token?

Jump to solution

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)
0 Kudos
1 Solution

Accepted Solutions
iiliev
VMware Employee
VMware Employee

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

0 Kudos
2 Replies
iiliev
VMware Employee
VMware Employee

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.

0 Kudos
DexG83
Enthusiast
Enthusiast

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

0 Kudos