Bitrix24 Community

Support » Forum » Documents and Bitrix24.Drive » state-driven BP command
Pages: 1
RSS
state-driven BP command, how to make it work?
for testing purposes, I created a simple state-driven BP (see image).
This setup allow me to redirect the execution to any one of the states, based on a List Field.
First state (initialize) changes STATE (with SET STATE action) so the execution jumps to other states as required.
It ONLY works if my logic (set state) is put inside one of these: ENTRY HANDLER or EXIT HANDLER.
If a COMMAND is used, nothing inside the command runs. I have tried with Log, set state, etc.
In this example, INITIALIZE works because it is inside a Entry Handler.
STATE2, 3 and 4  DON'T work, even if they receive control (by way of set status on INITIALIZE).

So either I really don't understand how this works, or I am missing something.
BTW, tried all permission combinations, from simplest (empty) to full to my user account.

I would be glad to hear your comments.

thanks
Ronaldo
---
Ronaldo Radünz

Bitrix24 Gold Partner
http://www.radsolucoes.com.br
Pages: 1
2,000,000+
organizations
are already using Bitrix24