Last active
March 5, 2019 08:18
-
-
Save Pum-purum/18361ca55d607752ad080d723ee2ad00 to your computer and use it in GitHub Desktop.
PHP-код в активити бизнес-процесса
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// получить текущий бизнес-процесс | |
$rootActivity = $this->GetRootActivity(); | |
// получить значение переменной бизнес-процесса {=Variable:kurs_usd} | |
$kursUSD = $rootActivity->GetVariable("kurs_usd"); | |
$rootActivity->GetConstant($fieldName); | |
// установка значения параметра бизнес-процесса {=Template:integrator_USD} | |
$rootActivity->integrator_USD = $integrator; | |
$rootActivity->SetVariable("LOG", $arLog); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment