I want to terminate an action instance ,but I don't know how to get the invocationid for the action

Avatar

26-10-2008

I want to terminate an action instance in script service ,and I have found that the ProcessManager has a method called 'terminateAction' , like this:

ProcessManager.terminateAction(String invocationId)



but I don't know how to get the invocationId through the API .If some one know how to do ,please kindly tell me .Thanks in advanced!

Replies

Avatar

Avatar
Boost 1
Level 1
John-Conner
Level 1

Like

1 like

Total Posts

4 posts

Correct reply

0 solutions
Top badges earned
Boost 1
View profile

Avatar
Boost 1
Level 1
John-Conner
Level 1

Like

1 like

Total Posts

4 posts

Correct reply

0 solutions
Top badges earned
Boost 1
View profile
John-Conner
Level 1

10-05-2010

I've the same question in LiveCycle ES2, and I don't know how to do it,if someone know it,please tell me ,thanks

Avatar

Avatar
Validate 25
Level 7
_Nith_
Level 7

Likes

121 likes

Total Posts

1,333 posts

Correct reply

91 solutions
Top badges earned
Validate 25
Validate 10
Validate 1
Boost 50
Boost 5
View profile

Avatar
Validate 25
Level 7
_Nith_
Level 7

Likes

121 likes

Total Posts

1,333 posts

Correct reply

91 solutions
Top badges earned
Validate 25
Validate 10
Validate 1
Boost 50
Boost 5
View profile
_Nith_
Level 7

11-05-2010

A quick solution:

The following query will retrieve the Invocation Id directly from Adobe database.

SELECT long_lived_invocation_id FROM tb_action_instance WHERE id = '<Your Action Instance Id>'

However, there must be an elegant way to fetch this value through API. I will share with you if I find it.

Nith

Avatar

Avatar
Validate 1
Level 1
Jaison_Sunny
Level 1

Likes

0 likes

Total Posts

16 posts

Correct reply

0 solutions
Top badges earned
Validate 1
View profile

Avatar
Validate 1
Level 1
Jaison_Sunny
Level 1

Likes

0 likes

Total Posts

16 posts

Correct reply

0 solutions
Top badges earned
Validate 1
View profile
Jaison_Sunny
Level 1

16-05-2010

Yeah , even i have a doubt on this. Any help would be appreciated.

Avatar

Avatar
Validate 1
Level 3
Steffen_Kuhnt
Level 3

Likes

2 likes

Total Posts

63 posts

Correct reply

0 solutions
Top badges earned
Validate 1
Give Back 5
Give Back 3
Give Back 10
Give Back
View profile

Avatar
Validate 1
Level 3
Steffen_Kuhnt
Level 3

Likes

2 likes

Total Posts

63 posts

Correct reply

0 solutions
Top badges earned
Validate 1
Give Back 5
Give Back 3
Give Back 10
Give Back
View profile
Steffen_Kuhnt
Level 3

23-07-2010

Has anyone been able to solve this? If so, I'd appreciate any hints ...

Thanks alot,

Steffen.

Avatar

Avatar
Validate 25
Level 7
_Nith_
Level 7

Likes

121 likes

Total Posts

1,333 posts

Correct reply

91 solutions
Top badges earned
Validate 25
Validate 10
Validate 1
Boost 50
Boost 5
View profile

Avatar
Validate 25
Level 7
_Nith_
Level 7

Likes

121 likes

Total Posts

1,333 posts

Correct reply

91 solutions
Top badges earned
Validate 25
Validate 10
Validate 1
Boost 50
Boost 5
View profile
_Nith_
Level 7

24-07-2010

I had the same requirement. I have read the invocation Id from tb_process_instance table using JDBC service.

If you find any API to locate the Invocation Id for a specific process Id, please share with me.

Nith

Avatar

Avatar
Boost 1
Level 1
Pushkar_Prokarm
Level 1

Like

1 like

Total Posts

20 posts

Correct reply

0 solutions
Top badges earned
Boost 1
View profile

Avatar
Boost 1
Level 1
Pushkar_Prokarm
Level 1

Like

1 like

Total Posts

20 posts

Correct reply

0 solutions
Top badges earned
Boost 1
View profile
Pushkar_Prokarm
Level 1

03-08-2010

Hi,

There are two ways to terminate an action instance.

1. First way is to do it from the adminui, where in you can terminate the process task.

2. Second way is to do it from the database.

There are three tables in the LiveCycle Database that captures these details:

1. tb_job_instance

2. tb_action_instance

3. tb_process_instance.

There are different flag status that is there corresponding to the different Actions that are there in LC.

The Most important thing: - You need to contact support (Adobe Technical Support for LiveCycle) who would be sending across the queries, related to the problem for executing if at all the problem can't be rectified from the adminui.

It is never advisable, nor recommended to touch and tweek around with the LC database without any guidance, since, the LC Database as lot of dependencies and constraints which might be effected if the database is updated without any proper guidance.

Hence, you could try to do this using the adminui first if at all it still doesnt get terminated, you could contact Adobe Technical Support (LiveCycle Team), to resolve that.

Cheers!!

Pushkar