A workflow is an automation tool. Enable everyone to easily automate your business existing processes with a solution that works with the Workflow tools you use every day – improving time to market and employee efficiency.
A webhook in web development is a method of augmenting or altering the behavior of a web page or web application with custom callbacks. These callbacks may be maintained, modified, and managed by third-party users and developers who may not necessarily be affiliated with the originating website or application.
Apache Kafka is a framework implementation of a software bus using stream-processing. It is an open-source software platform developed by the Apache Software Foundation written in Scala and Java.
The software utility cron also known as cron job is a time-based job scheduler in Unix-like computer operating systems. Users who set up and maintain software environments use cron to schedule jobs to run periodically at fixed times, dates, or intervals. It typically automates system maintenance
If the scheduled value is false, it means the workflow will run every minute, otherwise it will run once. It may contain such initial data but is not mandatory. If you want to create scheduled cron you must use true as value for scheduled props. For example if cron value is 0 0 12 24 2 ? * and scheduled is true it means it will run next 24th Februrary. When scheduled value is false it means it will run every year.
For example, this Gamstop action that work with Query String parameters. Token and MemberId are dynamically populated. When someone uses this action, the rule must provide the values. So, if we had a rule or rule step with Webhook or HTTP, our first request would be Token and MemberId.
1.2.3.0.2. What happens when this rule is triggered
Here is the development environment logs, result message is Invalid token because Gamstop API returns it when request has invalid token. So it means it is working correctly.
√ Running rule Sample Workflow
√ Step: Gamstop, type: Http
√ Step: log, type: function
√ Step result: log, type function Sample log Invalid token
Steps can contains Actions and Http Request types.
1.2.4.1. Anatomy of the Rule
You can see a rule below.
When the member registration request rule is triggered> wait 5 seconds> take the action Gamstop> if the action result of step 3 is equal to N > wait 1 second> write to the log > if the action of step 3 is Y, rewrite the log. The last step will pass. Because the rule was configured incorrectly. Step3.result can have only one value at a time. N or Y, the rule manager must know this.