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 1320 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.

Can anyone know what is the issue?

Unable to create workspace

I have the same issue. Any solution? Thanks alex[…]

Install in ubuntu

Dear All, In our dev environment we did an upgrad[…]

Get data from oracle database.

How to display all data in a table from oracle DB […]