• Confluence is currently running with all non-system plugins disabled, some functionality may be missing
Skip to end of metadata
Go to start of metadata

Batch jobs are a very convenient way to automise repetitive tasks or change and randomize parameters and properties. In previous versions of RealFlow this has always been a typical scripting task and required a certain level of Python knowledge. With the “Batch Graph” editor this is a thing of the past; now you will be able to create batch jobs without writing a single line of code: everything can be done on a visual level. Of course, the “old” scripting environment is still available.

If you have never used one of the RealFlow's scripting windows and editors before, we recommend having a look at the following chapters:

When you now open the “Batch Graph” window you will recognize a substantial difference: the “Batch script” window is nothing more than an empty editor. There you have to type in your script, debug and run it. RealFlow's internal debugger helps you to find the correct notation of the Python commands and helps you to fix errors. The “Batch Graph” window, on the other hand, provides an empty canvas with a grid. This is the area where you will place the icons that represent/replace the Python commands. So far, the difference is visual .

Please note that batch graphs are not saved with the current project and you always have to store them separately on your hard disk. It is a good idea to either find a common place for all batch graphs or create special directories under the project’s file and folder structure.

The main advantage of the “Batch Graph” editor is that you do not have to follow any of Python's syntax rules or particular notations. Each programming or scripting language requires a uniform method of writing and arranging. This process is indeed very close to a language, because you have to follow a kind of grammar. Your code will then be interpreted to make it understandable for the computer. If the grammar is not correct, the interpreter will not be able to understand the commands and the script or program cannot be executed. In this case you have to look for errors in your code. This is what programmers call “debugging”.

Of course, RealFlow's “Batch Graph” programs have to follow a syntax as well, but on much lower level. The fact that everything is clearly arranged with coloured icons will make it much easier for you to follow your “code”. Instead of tracing variables and values throughout dozens or even hundreds of lines of code, this information can be displayed with a single click on the appropriate icon. If you have some experience with scripting, it will definitely be easier for you to get started, but programming novices will also profit greatly from this visual environment.

 

 

Related content:
Error formatting macro: contentbylabel: com.atlassian.confluence.api.service.exceptions.BadRequestException: Could not parse cql : null