Questions and discussion about developing processes and programming in PHP, JavaScript, web services & REST API.

Moderator: ArturoRobles

Forum rules: Please search to see if a question has already asked before creating a new topic. Please don't post the same question in multiple forums.
By amithatle123
#825447
Hii,

Processmaker Community Version is 3.3.6

I have created one plugin and i want to open generated document summary through that plugin
I have create one php file and in that file i created one button when i click on that button i want to open that summary window
I tried to call this url:http://localhost/sysworkflow/en/neoclas ... ntsSummary
When i hit this url directly to the browser it works fine but when i hit through that button its gives me 503 service unavailable error.
Please help
Thank You
Attachments
summary window.JPG
summary window.JPG (44.58 KiB) Viewed 1403 times
User avatar
By amosbatto
#825474
You probably have to set the system variable for the case in your plugin code:
Code: Select all
$_SESSION['APPLICATION'] = 'XXXXXXXXXXXXXXXXXXXXXXXX'; //set to the case ID
$_SESSION['INDEX'] = 2;  //set to the delegation index of the case
$_SESSION['PROCESS'] = 'XXXXXXXXXXXXXXXXXXXXXXXXXX'; //set to the process ID
$_SESSION['TASK'] =  'XXXXXXXXXXXXXXXXXXXXXXXXXXXX';  //set to the task ID
//now call http://localhost/sysworkflow/en/neoclassic/cases/ajaxListener?action=generatedDocumentsSummary
Also remember that the logged in user needs Process Permissions to see the Output Documents.
Manual email send out did not run.

Dear All, Sometimes email stuck in pending when p[…]

DELETE A OUTPUT DOCUMENT

I solve the problem using this trigger $caseId =[…]

First off I am new to processmaker. I am trying to[…]

Total of grid in integer

Hi, Is there any better way to do it instead of c[…]