JSON API using Master Login return { total: 0}

Confluence User - 19 Aug, 2021

Hi.

I'm new to Joget. I'm currently study how to integrate current application with workflow. Integrate using JSON API without Master Login is successful and display the expected assignment list. However, when execute the same JSON API using Master login it always return 0 result. I have set a Master Login Username and Master Login Password under System Settings > General Setting. Is there any other configuration need to be done?


API > /web/json/workflow/assignment/list

result : {"total": 0}


integration

3


19 Aug, 2021
confluenceUser
1
confluenceUser

According to JSON API, you need to do the following too:

  • The API Domain Whitelist setting in General Settings needs to be configured to allow JSON API requests. If a request is from a non-whitelisted domain, the response will be a HTTP 400 Bad Request.
20 Aug, 2021
confluenceUser
confluenceUser

thank you.

21 Aug, 2021
confluenceUser
confluenceUser

However, I still facing the problem http://localhost:8080/jw/web/json/workflow/process/start/permohonanCuti:1:hantarPermohonanCuti?j_username=mastser&hash=133984682736817&loginAs=clark

return 

{
"activityId": "",
"processId": ""
}

RELATED QUESTIONS

Your answer


To answer a question you'll need an account.

Print