Is it possible to retrieve the SessionID in a SmartForm?

  • 7 January 2016
  • 1 reply
  • 8 views

Badge +1
Hi, We have a requirement to authenicate user accessing certain SmartForms. But, the user has to be authenicated through our legacy system. It would be something like this. (1) User logon our legacy system hosted in a domain which is different from the K2 SmartForms domain. (2) There will be a menu in our legacy system containing links to the K2 SmartForms. (3) When accessing those links, a unquie "token" will be generated in the legacy system and submitted to the K2 SmartForms. (4) The SmartForm will submit the (session id+"token") to the legacy system via web services. (5) The web services will lookup the "token" and bind the token to the session id. (6) For sub-sequence smartform access, we can verify the (session id+token). If they are binded, the user is authenicated. Otherwise, deny access. Does anyone have any idea to share? Thanks. nww

1 reply

Badge +9

Hi There


 


What you are probably going to want to Process Instance ID which is the unique identifier for each instance of a workflow. This should be available in the context browser underneath the Workflow Context Browser > Process Instance.


 


Ian

Reply