Problem while task allocating

i have tried to allocate the task using this api and its been more than 10 minutes and it is not completing and also after sometime the swagger ui gets stuck

what to do??

is there any other method to allocate the cases to the underwriters and reviewers?

@Sam @Simphiwe @Eldho @Shamnad_KS

1 Like

Hello @Aswin ,
Could you import the cURL request into Postman and try running the same process again?

1 Like

let me check after that i will update you

1 Like

The api got worked when i tried with the postman but in the my task in the case manager im not able to see anything i can see group task but im not able to see any task in mytask section?

[
  {
    "cycle": 0,
    "project": {},
    "actions": [
      {}
    ]
  }
]

do we need to specify anything in this body??

could you please help me with that @Sam

1 Like

Hello @Aswin ,
Did you pass the projectId as a parameter while allocating the task?

1 Like

No where can I pass that ?

@Sam

1 Like

Hello @Aswin ,
Like /allocate/1234

1 Like

from where i can get the projrctId ?? @Sam

1 Like

Hello @Aswin ,
You can get it either from your Case Manager URL or from the API response when fetching the project details.

1 Like

@Sam @Simphiwe what to do ??

1 Like

Hi @Aswin,

Can you share the whole URL

https://sandbox.neutrinos-apps.com/task-distributor/allocator/allocate/51f29bad-7f73-4df9-8de0-af8f23431f29

@Simphiwe

1 Like

Hello @Aswin ,
Could you tell me one the caseS that you have created ,could you share the cid in my chat??

1 Like
  1. cid: 9234
  2. message: “Case created successfully”
  3. success: true

this one is created right now @Sam

1 Like

Hello @Aswin ,
Could you check now??

1 Like

Yes now i can see that in my myTask.

could you please tell me how to do this so i can do in the future.

@Sam

1 Like

Hello @Aswin ,
This is the manual way of assigning tasks, but it’s not recommended. Tasks should be assigned automatically based on distribution—either round-robin or skill-based. I need to check on that and will update you

1 Like

Oh ok right now i have added round robin based distribution for underwriting in the human task section. So as per the academy tutorial they are showing calling this api for allocating thats why i asked about that.

Right now i was thinking of something like this if the result is NON-STP i will create a case right then after i will call this task allocation api for allocating the task. Thats how i planned but im not sure is that the best way to do it. If you know the automatic allocation please share it after you check on that.

Thank you @Sam

1 Like

when i click the alloted task im not able to see the values there

is there anything to add for getting the values here @Sam @Simphiwe

1 Like

Hello @Aswin ,
Did you make sure the data is properly bound?

1 Like