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.
#826879
Hi,

I'm using get variables API to get variables based on the case API link ->https://wiki.processmaker.com/3.2/REST_ ... Fvariables

Problem
The problem is in the subprocess. The task variable was the empty string.
Code: Select all
{
   "SYS_LANG":            "en",
   "SYS_SKIN":            "neoclassic",
   "SYS_SYS":             "workflow",
   "APPLICATION":         "78484118955bbd5fc39e5c5072875367",
   "PROCESS":             "189248173559579a84bf665046423742",
  "TASK" :                "",      // This task id empty  
   "INDEX":               "2",
   "USER_LOGGED":         "00000000000000000000000000000001",
   "USR_USERNAME":        "admin",
   "PIN":                 "JQN"
}
why am I getting the TASK is empty in subprocess first step itself. I'm using processmaker 3.2.1 version Please give me an idea?

Any ideas in this regard? Thanks

Can anyone help me please??????

rabbidwombat, I have created a better code examp[…]

Processmaker 3.6.1 OpenSource?

Generally, they share the latest release source co[…]