For automating inquiry handling or brochure request handling there are methods of automatically starting a Case that can be used, triggered by a notification email from a web server or iframe embedding on a website. If more complex handling is required consider triggering the [Message Start Event (HTTP)] with CORS AJAX communication.
1. Advantages of CORS Start
- a. From the aspect of eliminating emails (compared to email notification)
Direct storage in each Data Item, avoiding email delay, etc.
- b. From the aspect of eliminating iframe (compared with iframe embedding)
Design uniformity, dynamic displaying according to the browser setting of the user, etc.
- Compared to notification email (M218) and iframe embedding (M220 / M222) the technical requirement level is higher
2. Overview of CORS Technology
- a. Confirmation of Cross-Origin Resource Sharing (CORS) Specification
Mechanism of client-side Cross-Origin requests (W3C)
- b. Learn how to implement JavaScript
MDN web docs or jQuery API etc.
3. Permit CORS Communication (System Administrator authority)
- 1. Enable throughout the Workflow Platform
Becomes capable of receiving CORS communication.
- 2. Register the permitted server URLs
URL of the company's own website, etc.
- 3. Make a Start Event in a Workflow App
Place a [Message Start Event (HTTP)] at the beginning of the flow (M221)
- In cases where the page is public the app key will be publicly visible. If necessary, construct a mechanism to eliminate spam in downstream of the Workflow.
4. Monitor CORS Communication
- a. Check the Message Start Event (HTTP) summary
Public node list in administrative menu [App External Connectivity]
- b. Filtered display of all Cases (System Administrator authority)
Narrow down the display at the administrative menu [Case log] (M313)
- Normal users with the App privilege [Data Viewer] authority can also filter and display all Cases(M117)
Z. More Info: Workflow Trigger Code Example
Provides examples of HTML/JavaScript code that kicks “Message Start Event (HTTP)” and “Message Start Event (Webhook)“.
Workflow Trigger Code Example (2022-11)
Comments
0 comments
Please sign in to leave a comment.