Answer the question
In order to leave comments, you need to log in
How to get business process variables using Bitrix24 REST API?
Good day.
I am writing a local application for the cloud version of Bitrix24. In it, I created an application action (via bizproc.activity.add
) that should collect the data entered during the business process using the "Request additional information" block into a specific report format.
The action works as it should, but I can't get a list of business process variables in a remote script. Active googling only suggested using PHP methods , but as far as I understand, these methods are for the boxed version, not the cloud one.$rootActivity->GetVariable("Manager");
Right now, I only have the idea to create a file before the application action and write all the variables to it, but this does not seem like a good idea (if only because I did not find a template for outputting all variables at once, and listing each of them is bad for scaling).
Thanks in advance for your reply.
[edit] Typos, formatting
Answer the question
In order to leave comments, you need to log in
The action works as it should, but I can't get a list of business process variables in a remote script.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question