Would anyone could clarify my doubts about triggering vorkflov.
I made one simple test, and no result (in 3.1 and in latest developer) - Guess I am doing something wrong or not understand the logic of workflow.
- select module Account
- Spec when to execute: System
- Condition: If one field (Posal code) value is "21000"
- Udate field: Update another field (Street) in record
- account -Manualy updated Postalcode in exiting record to 21000 - to set condition
- account - Manualy created new record with postalcode - 21000 - to set condition
- Wait for 15min, 30 min... and nothing happends

* **System - I dont know when this will be executed? Only once? It will apply to all record, only modified, only new records?
* Can Workflow be executed *on all records - I see there is on create, on modifying... I thought System- means all records, automaticaly with cron (15min.)?
* Can Workflow be executed *only once on all record?
In other CRM there is clear adjustment - all records, only new, on modifying.

@serbiaserbia lets try Every time a record is saved (eg. creating, modifying) and use conditions for postL code
@vovpff
Ok. It will work corectlly. User enter new record, click save -after that new record is created and new survey is created. It work.
But, I want to it runs on all old record prevuislly saved. For example, in the middle of this month we figure new survey for all account created on february this year. We didnt know it will be needed in moment of creating record.
I need workflow automation to pass throught all record, check condition and do all tasks. Is that possible with cheking execution "System"?
@serbiaserbia I nevervtried this in a past but you can try "manually triggered by user" workflow type.
Another one idea - lets make checkbox an wokflow with conditions: if checkbox is on, postal code is ABCDEF then update field street field and uncheck checkbox. This works cool in vtiger and yeti.
System workflow type undiscovered by me now... More information needed from developers.
@vovpff
"manually triggered by user" is working properly, but it is semi-automated workflow. User must click, and automation will begin. It is very usefull but a user must be included.
"Everytime record is saved", "on creation", "on modifiying", "delatating records" is semi automated (almost full automated). User must click save or create.
"Execution schedule (defined time intervals)" and "System" options - I assume that these options are for complete automation. It would be good to be clarified by developers. These options sure have great potential and be very usefull.
@serbiaserbia It is just a workaround to run a workflow one for each record.
I do not think there is a straightforward way to accomplish what you are asking for. The way I deal with the issue is by:
Hope it helps.
@dextras ππ thanks for your help. ππ
Yes, that is full logic and corectly, but it is semi-automatic. But do you have an idea what is purpose of these workflow execution options:
How do you use it? Have any expeience?
I think -it must fill the gap in meaning of full automatisation of CRM, without human touch - only to set condition and todo.
Offcourse, to stop that automation, we can allways add to change some variable (in condition) that will be condition to stop trigger.
Any experience is welcome, thanks... ππππ
Hi!
I am glad I could help ;)
Regarding your question:
For the second to work you have to have cron configured in your webserver. Please refer to https://yetiforce.com/en/administrator-documentation/panel/cron/150-enable-cron.html.
System = in the script [method] you decide when to run.
@dextras Thanks for your time...
@bpabiszczak Thank for answer....
Answer on 2nd question will solve all my mistery forever πππ
Just try it out ;)
The trigger is the time. If you set it to run every day at 5:00 pm it should run on all records matching the conditions you specified every single day at 5:00 pm.
@dextras Mistery is solved, very usefull πΉπΉthanks
To try... I have some problem with cron, can't catch admin to fix it in right way... On my test server enviroment can't test it. Grrrr, angry on myself.
On dev version - I tried many things that I got tangled up, and nothing. Now I'm going to test it again. Thnx
Most helpful comment
@vovpff
"manually triggered by user" is working properly, but it is semi-automated workflow. User must click, and automation will begin. It is very usefull but a user must be included.
"Everytime record is saved", "on creation", "on modifiying", "delatating records" is semi automated (almost full automated). User must click save or create.
"Execution schedule (defined time intervals)" and "System" options - I assume that these options are for complete automation. It would be good to be clarified by developers. These options sure have great potential and be very usefull.