How to delete the existing actalog task activity from workflow of a catalog item

sagar_basu
Tera Contributor

Hi All,

 

I am new to workflows and I have a very basic workflow question. 

We have a catalog item which has an associated custom workflow. There were 3 catalog task activties which gets generated when catalog item is submitted by end user.

Now the requirement is amongst those 3 tasks 2 tasks are not required any more and it should be removed.

I removed the connecting lines between those catalog task activities.

My questions are:

1. How to delete the catalog task activity in workflow editor? When I point to remove icon it says delete node(as shown in screenshot).

Is that how we delete the activity?

2. There are already 100s of requests for this catalog item that were already requested and some are completed in production and some are not yet completed state. So what happens to old requests which are already created in production when I move this new workflow where I have deleted the activities?

3. So capturing the delete actions in updateset won't delete any wrong items in production right?

Please clarify all queries in detail as I am newbie and very afriad of deleting stuff .

sagar_basu_1-1709686575398.png

 

 

Thank you,

 

 

1 ACCEPTED SOLUTION

Harish KM
Kilo Patron
Kilo Patron

Hi @sagar_basu please find below response

1. How to delete the catalog task activity in workflow editor? When I point to remove icon it says delete node(as shown in screenshot).

Is that how we delete the activity? --> Yes you need to delete the node and ensure workflow transitions are connected for other tasks

2. There are already 100s of requests for this catalog item that were already requested and some are completed in production and some are not yet completed state. So what happens to old requests which are already created in production when I move this new workflow where I have deleted the activities?--> For old request as long as workflows are triggered, it will follow old workflow process since workflows are already triggered.

for new worlflow, once you commit the update set in production, all new request submitted will follow new workflow process.

Incase if you want active request in production to use new workflow, then you need to cancel existing running workflow and then need to trigger new workflow, this will trigger the request flow from the start, this requires background script or fix script.

3. So capturing the delete actions in updateset won't delete any wrong items in production right?--> Yes it will not delete anything except the activities you have deleted.

 

Regards
Harish

View solution in original post

1 REPLY 1

Harish KM
Kilo Patron
Kilo Patron

Hi @sagar_basu please find below response

1. How to delete the catalog task activity in workflow editor? When I point to remove icon it says delete node(as shown in screenshot).

Is that how we delete the activity? --> Yes you need to delete the node and ensure workflow transitions are connected for other tasks

2. There are already 100s of requests for this catalog item that were already requested and some are completed in production and some are not yet completed state. So what happens to old requests which are already created in production when I move this new workflow where I have deleted the activities?--> For old request as long as workflows are triggered, it will follow old workflow process since workflows are already triggered.

for new worlflow, once you commit the update set in production, all new request submitted will follow new workflow process.

Incase if you want active request in production to use new workflow, then you need to cancel existing running workflow and then need to trigger new workflow, this will trigger the request flow from the start, this requires background script or fix script.

3. So capturing the delete actions in updateset won't delete any wrong items in production right?--> Yes it will not delete anything except the activities you have deleted.

 

Regards
Harish