1
0
-1

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}


    CommentAdd your comment...

    1 answer

    1.  
      1
      0
      -1

      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.
      1. Ridzuan Mohamad

        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": ""
        }

      CommentAdd your comment...