S
S
SteepNET2020-04-07 15:10:53
Bitrix24
SteepNET, 2020-04-07 15:10:53

Bitrix24 error after updating bizproc module?

Updated to the latest version of the bizproc module

Updated: bizproc (20.0.400)
Added "Run as" setting in REST bots.
The size of the fields for entering formulas/expressions in the settings of actions and robots has been increased.
For the "Mail message" action, a restriction has been introduced on sending messages from unconfirmed/unconnected addresses in Bitrix24.
Bugs fixed.


There was a problem with several PSUs, through the error output it turned out where the error was created
spoiler
"


[TypeError]
Argument 2 passed to Bitrix\Bizproc\Activity\Condition::checkValue() must be an instance of Bitrix\Bizproc\FieldType, null given, called in /home/bitrix/www/bitrix/activities/bitrix/fieldcondition/fieldcondition.php on line 118 (0)
/home/bitrix/www/bitrix/modules/bizproc/lib/activity/condition.php:68
#0: Bitrix\Bizproc\Activity\Condition->checkValue(string, NULL, array)
/home/bitrix/www/bitrix/activities/bitrix/fieldcondition/fieldcondition.php:118
#1: CBPFieldCondition->CheckCondition(string, string, string, string, string, string, object)
/home/bitrix/www/bitrix/activities/bitrix/fieldcondition/fieldcondition.php:59
#2: CBPFieldCondition->Evaluate(object)
/home/bitrix/www/bitrix/activities/bitrix/ifelseactivity/ifelseactivity.php:20
#3: CBPIfElseActivity->Execute()
/home/bitrix/www/bitrix/modules/bizproc/classes/general/workflow.php:466
#4: CBPWorkflow->RunQueuedItem(object, integer, NULL)
/home/bitrix/www/bitrix/modules/bizproc/classes/general/workflow.php:443
#5: CBPWorkflow->RunQueue()
/home/bitrix/www/bitrix/modules/bizproc/classes/general/workflow.php:198
#6: CBPWorkflow->Start()
/home/bitrix/www/bitrix/modules/bizproc/classes/general/document.php:341
#7: CBPDocument::StartWorkflow(string, array, array, array)
/home/bitrix/www/bitrix/components/bitrix/bizproc.workflow.start/ajax.php:221
"

"


[TypeError]
Argument 2 passed to Bitrix\Bizproc\Activity\Condition::checkValue() must be an instance of Bitrix\Bizproc\FieldType, null given, called in /home/bitrix/www/bitrix/activities/bitrix/fieldcondition/fieldcondition.php on line 118 (0)
/home/bitrix/www/bitrix/modules/bizproc/lib/activity/condition.php:68
#0: Bitrix\Bizproc\Activity\Condition->checkValue(string, NULL, array)
/home/bitrix/www/bitrix/activities/bitrix/fieldcondition/fieldcondition.php:118
#1: CBPFieldCondition->CheckCondition(string, string, string, string, string, string, object)
/home/bitrix/www/bitrix/activities/bitrix/fieldcondition/fieldcondition.php:59
#2: CBPFieldCondition->Evaluate(object)
/home/bitrix/www/bitrix/activities/bitrix/ifelseactivity/ifelseactivity.php:20
#3: CBPIfElseActivity->Execute()
/home/bitrix/www/bitrix/modules/bizproc/classes/general/workflow.php:466
#4: CBPWorkflow->RunQueuedItem(object, integer, NULL)
/home/bitrix/www/bitrix/modules/bizproc/classes/general/workflow.php:443
#5: CBPWorkflow->RunQueue()
/home/bitrix/www/bitrix/modules/bizproc/classes/general/workflow.php:198
#6: CBPWorkflow->Start()
/home/bitrix/www/bitrix/modules/bizproc/classes/general/document.php:341
#7: CBPDocument::StartWorkflow(string, array, array, array)
/home/bitrix/www/bitrix/components/bitrix/bizproc.workflow.start/ajax.php:221
"


So I understand something with the type of fields? Let me know if you have this problem, what can be done?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
U
upstructure, 2020-04-08
@upstructure

At random, I realized that the error falls out when the process reaches the construction of the "Condition" type. One branch was checked by the condition of the deal field = <empty>. Removed and everything went, TP, as always, is silent.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question