Expand my Community achievements bar.

(ACC V8) jssp : logonEscalation('admin') - Session has expired or is invalid. Please reconnect.

Avatar

Level 1

Hello,

 

we developed a jssp with the use of an xmlHttpRequest (post method) to transmit the data triggered following the click of a button. We then use a server-side js function to retrieve this data and call a postEvent to trigger a workflow.

 

In V7, we used this code to do the postEvent : 

oldContext = logonEscalation('admin');

xtk.workflow.PostEvent('wkfInternalName', 'signal', 'done', parameters, false);

 

In V8, this code no longer works (probably due to the IMS connection mode) and we have this log : 

XSV-350008 Session has expired or is invalid. Please reconnect. (iRc=-69)

 

If someone has an idea ?

Topics

Topics help categorize Community content and increase your ability to discover relevant content.

4 Replies

Avatar

Community Advisor

Hello @laurentRibous 

 

Why do you need the admin session to start a workflow? It should work without the logonEscalation function.


     Manoj
     Find me on LinkedIn

Avatar

Administrator

Hi @laurentRibous,

Were you able to resolve this query on your own or do you still need help here? Do let us know.

Thanks!



Sukrity Wadhwa

Avatar

Level 1

Hello,

 

We were able to resolve this by our own.

Thanks!

Avatar

Administrator

Great! Thanks for sharing that. Can you also share how you were able to resolve it so taht our Community can also benefit from your solution?

 

Thanks!



Sukrity Wadhwa