Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
BedrockMission!

Learn More

View all

Sign in to view all badges

Stop one workflow in the application server

Avatar

Avatar
Validate 1
Level 1
gigi_jin
Level 1

Likes

0 likes

Total Posts

21 posts

Correct Reply

2 solutions
Top badges earned
Validate 1
Applaud 5
Affirm 1
View profile

Avatar
Validate 1
Level 1
gigi_jin
Level 1

Likes

0 likes

Total Posts

21 posts

Correct Reply

2 solutions
Top badges earned
Validate 1
Applaud 5
Affirm 1
View profile
gigi_jin
Level 1

18-05-2018

Hi guys - is there a way to stop one particular workflow from the applications server? Thanks!

Accepted Solutions (1)

Accepted Solutions (1)

Avatar

Avatar
Validate 1
Level 1
gigi_jin
Level 1

Likes

0 likes

Total Posts

21 posts

Correct Reply

2 solutions
Top badges earned
Validate 1
Applaud 5
Affirm 1
View profile

Avatar
Validate 1
Level 1
gigi_jin
Level 1

Likes

0 likes

Total Posts

21 posts

Correct Reply

2 solutions
Top badges earned
Validate 1
Applaud 5
Affirm 1
View profile
gigi_jin
Level 1

07-09-2018

Thanks all for taking your time to respond to this question.

Just a follow-up here: I've managed to delete the workflow in question by using SQL code activity in a workflow.

It worked like a charm

Answers (5)

Answers (5)

Avatar

Avatar
Validate 10
MVP
Amit_Kumar
MVP

Likes

329 likes

Total Posts

649 posts

Correct Reply

231 solutions
Top badges earned
Validate 10
Validate 1
Establish
Give Back 50
Give Back 5
View profile

Avatar
Validate 10
MVP
Amit_Kumar
MVP

Likes

329 likes

Total Posts

649 posts

Correct Reply

231 solutions
Top badges earned
Validate 10
Validate 1
Establish
Give Back 50
Give Back 5
View profile
Amit_Kumar
MVP

04-07-2018

Use xtk.worfklow.Stop.Kill it will solve your problem.

Avatar

Avatar
Boost 50
Employee
Adhiyan
Employee

Likes

239 likes

Total Posts

342 posts

Correct Reply

124 solutions
Top badges earned
Boost 50
Boost 5
Boost 3
Boost 25
Boost 100
View profile

Avatar
Boost 50
Employee
Adhiyan
Employee

Likes

239 likes

Total Posts

342 posts

Correct Reply

124 solutions
Top badges earned
Boost 50
Boost 5
Boost 3
Boost 25
Boost 100
View profile
Adhiyan
Employee

04-07-2018

HI Gigi,

In Such cases , the best way is to kill it on the Database directly. You need to get the pid for the query and then stop / kill that pid from the Database.

If the instance is hosted by Adobe , raise a support ticket , else ask your DBA to kill the workflow but providing the primary keys.

Regards,

Adhiyan

Avatar

Avatar
Springboard
Level 9
Gaurang
Level 9

Likes

143 likes

Total Posts

435 posts

Correct Reply

45 solutions
Top badges earned
Springboard
Validate 100
Validate 50
Validate 25
Validate 10
View profile

Avatar
Springboard
Level 9
Gaurang
Level 9

Likes

143 likes

Total Posts

435 posts

Correct Reply

45 solutions
Top badges earned
Springboard
Validate 100
Validate 50
Validate 25
Validate 10
View profile
Gaurang
Level 9

04-07-2018

Hi,

Were you able to find something relevant for your query here?

Gaurang

Avatar

Avatar
Validate 1
Level 1
gigi_jin
Level 1

Likes

0 likes

Total Posts

21 posts

Correct Reply

2 solutions
Top badges earned
Validate 1
Applaud 5
Affirm 1
View profile

Avatar
Validate 1
Level 1
gigi_jin
Level 1

Likes

0 likes

Total Posts

21 posts

Correct Reply

2 solutions
Top badges earned
Validate 1
Applaud 5
Affirm 1
View profile
gigi_jin
Level 1

19-05-2018

Thanks for your help.

Basically this workflow is on pause status and the workflow supervisors have been receiving notification emails everyday. So they wanted to shut this workflow down completely.

Option 1 and 2 are not working in my case, because whenever the workflow is selected it crashes the client console. Hence I have to do it from the backend.

I also used xtk.worfklow.Stop but it didn't work because the workflow status was changed from 'paused' to 'stop requested' and then back to 'pause' again.

Avatar

Avatar
Give Back
Level 2
pradyumns539618
Level 2

Likes

10 likes

Total Posts

24 posts

Correct Reply

1 solution
Top badges earned
Give Back
Ignite 1
Validate 1
Boost 5
Boost 3
View profile

Avatar
Give Back
Level 2
pradyumns539618
Level 2

Likes

10 likes

Total Posts

24 posts

Correct Reply

1 solution
Top badges earned
Give Back
Ignite 1
Validate 1
Boost 5
Boost 3
View profile
pradyumns539618
Level 2

19-05-2018

Hi,

You can stop a workflow by many ways :

  • By manual
  • Unconditional stop(Only use the unconditional stop if you are sure there are no actual workflow jobs in progress)
  • From back end (to do this you should know the value of Stop attribute of the workflow schema )
  • Using Java Script (xtk.workflow.Stop(WorkFlowId)

Thanks !