Falcon Space. Business processes
How business processes work
You can define a process as a sequence of trigger calls.
We check the event for each trigger. If the trigger returns result = true, the next trigger is called. If result=false, this trigger is scheduled to restart in N minutes.
The action that the trigger performs can be any, for example:
- creating a task (job)
- creating a notification)
An event check in a trigger is usually used to check the execution of a task associated with this trigger (but in General, it can be any check based on the state of the database).
Important! The business process trigger has nothing to do with sql server triggers. SQL triggers are not being used.
Implementing the business process
To automate a certain process, follow these steps:
- Create a process.
- Describe its triggers.
- Implement SQL procedures for each trigger (state check and action execution).
- Launch the trigger via the stored procedure as_jb_startProcess
Stored procedures for business processes
- as_jb_startProcess-starting a new process (creating an instance of the business process)
- as_jb_createJob-creates a new task (used in storage for triggers).
- as_nt_createNotification - creating notifications
- jb_example_check is an example of a stored procedure that is used as the basis for trigger stores.
System stored procedures:
- as_jb_checkCron (internal) - runs every minute via sync_minute to check planned triggers.& nbsp;
- as_jb_cron (internal) - adds a trigger to the crown
- as_jb_finishProcess (internal) - storage for completing the process
- as_jb_nextTrigger (internal) - used to search for and launch the next trigger in the process.
The table jb_triggerCron records planned trigger launches. Their initiation is tested and run through the place sync_minute.
For notifications, the default notification code is the OEWG (don't forget to add it).
Examples of how Falcon Space platform components workExamples of convenient tables and forms Examples of dashboards Examples of graphs and charts Example of a calendar Table with API data Example of displaying a map with points Types of form fields Example of a statistics widget Example of a hierarchy tree Example of the Time line component Example of a product card Example of resource load tracking Example of a Kanban board Example of a master form Example of uploading Excel/Word documents Example of filling in TIN data
- Falcon Space Foundation
- Basic components Falcon Space. Working with tables Falcon Space. Working with forms Falcon Space. Working with dashboards Falcon Space. Working with resources Falcon Space. Working with entities Falcon Space. Business processes Falcon Space. Generating Docx and Xlsx documents Falcon Space. Working with trees (hierarchy) Working with HTML blocks External actions (notifications, push, email, API call) Diagrams and Graphs Interactive tree Gantt Chart The Kanban Board Chartbar diagram Map with markers Cards Progress line Timeline The calendar
- Falcon Space Features
- Additional component
- HOWTO Tables
- HOWTO Forms
- Работа с SQL
- HOWTO JS
- HOWTO CSS
- HOWTO Layout
- Solve problems
Falcon Space Platform
This is a reduction in the cost of ownership
at the expense of fewer people to support
This is a quick change
while using the program
This is a modern interface
full adaptation for mobile devices