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
Bedrock Mission!

Learn more

View all

Sign in to view all badges

Adobe Summit 2023 [19th to 23rd March, Las Vegas and Virtual] | Complete AEM Session & Lab list

Getting process id from SOAP invocation

Avatar

Level 7

Is there a way to get a processid as a SOAP response when invoking a long lived process? This was possible in LC 7.2.

Aditya

0 Replies

Avatar

Level 10

What makes you difficult here?

Add a process variable (OUT) and assign the process id to it using Assign Task activity. That should return the Process Id as SOAP response.

Nith

Avatar

Level 7

The process is long lived and, I was using invokeAsync all this while. Changing to invoke didn't work as it wouldn't allow me to start the process and the output variable is not available through invokeAsync.

Aditya

Avatar

Level 2

can anybody please comment on this? I have another question...when should I use JobManager and when should i use TaskManager APIs?

What is the significance of process id? Does it signify the process or it signifies the process instance? Please explain.

- Avi

Avatar

Level 10

The invokeAsyn() method will return an invocation_id value. Isn't it?

Can you use that and query the Process Manager to get the Process Id later?

Nith

The ultimate experience is back.

Join us in Vegas to build skills, learn from the world's top brands, and be inspired.

Register Now