1b.app
Link copied -

action "Automatically distribute customer payments by processes" - setting

Answers:

Hello, checking:
preg_match('/WHAT YOU ENTERed/ius', 'Payment comment')
01.02.2021, 14:38
Original comment available on version: ru

what variables does it take?
what php functions can be used?
response to character case?
01.02.2021, 18:03
Original comment available on version: ru

1. preg_match doesn't accept any variables from Box, if that's what you mean. There you need to write a word or a regular expression
2. Functions inside preg_match? Are you sure you can use them?
3. preg_match is case sensitive
02.02.2021, 12:33
Original comment available on version: ru

those. additional field of the business process will not work?
even in a regular expression?
04.02.2021, 16:54
Original comment available on version: ru


well, if you modify it so that you could specify a variable and search was carried out by comment on the entry in any case.
04.02.2021, 17:11
Original comment available on version: ru

Ok, you have 1 payment and 1,000,000 processes and a payment comment "transfer for dress". What do you want to put into action and what result will you get?
04.02.2021, 17:26
Original comment available on version: ru

Well, first of all, they seem to be limited in action by the number of days.
secondly, I want to specify a variable from the process field, for example, External ID, or an additional field variable,
or both at once, or "#+variable"
but I want to receive a payment in the comments of which it says "No. + variable" or "No. + VARIABLE" or "No. + VARIABLE"
04.02.2021, 18:05
Original comment available on version: ru


Mironenko Dmitry
Client wrote:
No.+variable

you have 1000 processes with a different value of "variable", do you propose to go through them all and substitute a new value each time?
04.02.2021, 18:41
Original comment available on version: ru

so what?
- here you somehow sort through them
- and ten times
Probably it heavily loads the system.
I just wanted to do fewer iterations....
04.02.2021, 18:48
Original comment available on version: ru


Mironenko Dmitry
Client wrote:
so what?

you have 10 orders, another will have 3 million tomorrow. Nothing like that, just drop the server ..
05.02.2021, 15:55
Original comment available on version: ru


Bodyako Dmitry
dev wrote:

Mironenko Dmitry
Client wrote:
so what?

you have 10 orders, another will have 3 million tomorrow. Nothing like that, just drop the server ..

It was a rhetorical question....
I was waiting for an answer to another question:
https://crm-onebox.com/en/ajax/download/3391/ - this doesn't drop the server, but it also works.
or am I wrong?
explain...
05.02.2021, 22:34
Original comment available on version: ru

not the same. In this case, the value from the payment is parsed according to the template, for example, we get "112312342" and it searches for an order with the value of the additional field.
08.02.2021, 10:55
Original comment available on version: ru

and if we put the payment search action at the stage of the business process, will it not drop the server?
20.02.2021, 10:42
Original comment available on version: ru

easier, but still a bad idea. What's stopping you from just writing a normal preg template now into an existing payment distribution action?
22.02.2021, 17:44
Original comment available on version: ru

does not work.
I wrote 11 templates and still misses part of the payments.
and the case of letters, if different, then nothing at all ...
23.02.2021, 14:38
Original comment available on version: ru

probably worth trying to put several actions with different pregs. There is no such line from which it is impossible to isolate the necessary data using preg templates.
23.02.2021, 16:33
Original comment available on version: ru

Please join the conversation. If you have something to say - please write a comment. You will need a mobile phone and an SMS code for identification to enter. Log in and comment