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

Moderators: ArturoRobles, 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 1334 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.

Hi, I have around 100 variables in master process […]

Install in ubuntu

Nov 8, 2014 — You can install applications d[…]

Hi, The form.setOnchange() method does NOT work w[…]

design

Hi, You can easily change your forms like this eve[…]