ProcessMaker Inc. is the developer of the ProcessMaker Workflow & BPM Software Suite. Read more
jemiris wrote: ↑Wed Aug 28, 2019 12:34 am I have another question that if the session gets expired how can I get another session-id.You have to login again with oAuth2 (or use the refresh token to get a new access token), and then call the endpoint again to get another Session ID.
jemiris wrote: ↑Thu Aug 29, 2019 5:07 am 1. How does the endpoint know that when the session get's expiry in the processmaker?If the login session has expired (after 24 minutes of inactivity), then when you try to open the process map in an iframe, it will be redirected to the ProcessMaker login screen. The user can login, and then the iframe will redirect back to the process map.
jemiris wrote: ↑Thu Aug 29, 2019 5:07 am 2. As of now, we are mentioning the session-id for any user. So how the rest API gets the session-id?You can only get the session ID for the user who logged in using oAuth2. If you logged in as "admin", then you are getting the session ID for "admin". You can't get session IDs for other users.
3. Is it getting the session id of the admin user or how is it getting?
jemiris wrote: ↑Thu Aug 29, 2019 5:07 am 4. Why I have these questions it's because in the web service name called "Automatic Login" https://wiki.processmaker.com/index.php ... atic_Login. In web services, we have to specify the username and password to get the particular user's session id. So my question is how the REST API will the particular user id?That example from the web services documentation is attaching the session ID to the URL, just like I'm telling you to do with REST.
I have created a small process. Users are assigned[…]
Just trying to setup to use the mobile App with my[…]
It's really a great idea. I have followed the seco[…]
yes i use php thanks for the information