Share ideas, ask questions, and get feedback about developing for ProcessMaker
Forum rules: Please post new questions under "Developing processes & programming" for ProcessMaker 2 or 3.
#785173
Hi ALL,

We are calling Participated Cases REST API as per API documents :-
API Info are below:-
Get Participated Cases: GET /cases/participated
and Response include "tas_uid"

But while calling same API from my application, i'm not getting "tas_uid" which is very necessary to show dynaform.

I'm waiting of response.

Thanks
#785194
Please find below json response while calling REST API:- /api/1.0/workflow/cases/participated
Code: Select all
[
{
"app_uid":"606842041571895dea91dd7039905919",
"del_index":"3","usr_uid":"63565063456bc47bd837261025476597",
"previous_usr_uid":"87429809556bc475e525414062084123",
"app_number":"158",
"app_title":"#158",
"app_pro_title":"NAS Leave Request",
"app_tas_title":"Process Leave",
"app_current_user":"Kettaneh Mohammed",
"app_update_date":"2016-04-21 09:01:40",
"del_init_date":"2016-04-21 05:01:42",
"usr_firstname":"Mohammed",
"usr_lastname":"Kettaneh",
"usr_username":"MKettaneh",
"appdelcr_app_tas_title":"Process Leave",
"usrcr_usr_uid":"63565063456bc47bd837261025476597",
"usrcr_usr_firstname":"Mohammed",
"usrcr_usr_lastname":"Kettaneh",
"usrcr_usr_username":"MKettaneh",
"previous_usr_firstname":"Rami",
"previous_usr_lastname":"Al-Haddad",
"previous_usr_username":"RAlhaddad"
}
]
Thank You for your response
#785220
What version of ProcessMaker are you using. When I call /cases/participated in version 3.0.1.7, I see the following output which includes tas_uid:
Code: Select all
[
   {
                    [app_uid] => 789214954571a9864aaffe6037343784
                    [del_index] => 1
                    [del_last_index] => 1
                    [app_number] => 12
                    [app_status] => DRAFT
                    [usr_uid] => 00000000000000000000000000000001
                    [previous_usr_uid] => 
                    [tas_uid] => 55142297256cf8d475ee9b5060099503
                    [pro_uid] => 58038459456cf8d46c99432086930679
                    [del_delegate_date] => 2016-04-22 17:32:20
                    [del_init_date] => 2016-04-22 17:32:20
                    [del_finish_date] => 
                    [del_task_due_date] => 2016-04-25 17:00:00
                    [del_risk_date] => 2016-04-25 15:24:00
                    [del_thread_status] => OPEN
                    [app_thread_status] => OPEN
                    [app_title] => #12
                    [app_pro_title] => File fields in Grid Example
                    [app_tas_title] => Task 1
                    [app_current_user] => admin Administrator
                    [app_del_previous_user] => 
                    [del_priority] => NORMAL
                    [del_duration] => 0
                    [del_queue_duration] => 0
                    [del_delay_duration] => 0
                    [del_started] => 0
                    [del_finished] => 0
                    [del_delayed] => 0
                    [app_create_date] => 2016-04-22 17:32:20
                    [app_finish_date] => 
                    [app_update_date] => 2016-04-22 17:55:50
                    [app_overdue_percentage] => 0
                    [usr_firstname] => Administrator
                    [usr_lastname] => admin
                    [usr_username] => admin
                    [appdelcr_app_tas_title] => Task 1
                    [usrcr_usr_uid] => 00000000000000000000000000000001
                    [usrcr_usr_firstname] => Administrator
                    [usrcr_usr_lastname] => admin
                    [usrcr_usr_username] => admin
                    [previous_usr_firstname] => 
                    [previous_usr_lastname] => 
                    [previous_usr_username] => 
                    [app_status_label] => Draft
            }
]
Or are these cases created is some strange way?
#785238
Currently we are using 3.0.1.7 community edition , as soon we will upgrate to enterprise edition.

If case creating way is not proper than task_uid should not come while calling Get Case/ or Case/draft/ Rest API.
But in my case task_uid is receiving while calling Get Case/ or Case/draft/ Rest API except /cases/participated

Thank You for Response.

The Quantum AI Project Trading Platform stands out[…]

I can help you with the top solution to import OST[…]

If you have an email and want to open it in PST fo[…]

Coinbase clone software is a ready-to-go software […]