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

Moderator: amosbatto

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 hoseinezci
#825792
hi
i have an issue with run trigger from REST call:

http://server ip /api/1.0/workflow/cases/8408203125d3f2e31125667064674056/execute-trigger/5308227535d467615c2fea2081811789
?access_token={access_token}

with postman and it return

{
"error": {
"code": 400,
"message": "Bad Request: mysql_connect(): The mysql extension is deprecated and will be removed in the future: use mysqli or PDO instead"
}
}

and trigger doesn't run!!!

any help please!
User avatar
By amosbatto
#825818
What version of ProcessMaker are you using and what version of PHP?

In your php.ini file, you should have these settings:
error_reporting = E_ALL & ~E_DEPRECATED & ~E_STRICT
display_errors = Off


Did you include the access token the header when when using Postman? See these examples:
https://wiki.processmaker.com/3.0/Calli ... ng_Postman
https://wiki.processmaker.com/3.2/JavaS ... ing_jQuery

If you can't figure it out, post screen shots of Postman.

Sending documents as base64 worked the last time I[…]

I don't see those problems using PM 3.3.10 Communi[…]

Tengo el mismo problema con el MultipleFile, inten[…]

Getting this error

_ERROR_ : The row '3149943815d31b85fdf39650326697[…]