A
A
Anto2021-10-26 10:37:13
Bitrix24
Anto, 2021-10-26 10:37:13

How to create a webhook for bizproc.workflow.start?

Good afternoon!

Tell me, I've tried a bunch of options but I can't figure out how to run bizproc.workflow.start.

Purpose: It will be necessary to launch a webhook with the bizproc.workflow.start method from BP from 1C. That is, a BP is created in 1C and on the basis of it it will be created in B24 BP.

I am creating a BP for a live feed in B24: I took TEMPLATE_ID = 11 as a source for the webhook
6177af8f6dd0c961213444.png

Next, I created a webhook (tell me how to fill it in correctly, the DOCUMENT_ID field is constantly error_description] => Wrong DOCUMENT_ID! ):
6177aec1ec5b6035721955.png
6177afe0d1187073492429.png

In the example it is ['lists', 'BizprocDocument' , '777'] - instead of 777, indicated the id of the running BP and the next ID that has not yet been created, but it does not work. tell me what I'm doing wrong how to correctly specify the values?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
D
dSybarite, 2021-10-27
@dSybarite

/bizproc.workflow.start?TEMPLATE_ID=11&DOCUMENT_ID[]=lists&DOCUMENT_ID[]=BizprocDocument&DOCUMENT_ID[]=777

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question