Hi, there.

 

Recently, I have prepared “Add-on XML (Service Task definition file)” for cooperation with several enterprise social networking tools in response to some requests.

In this post, it is with Hangout Chat.

 

TOC
1. Overview of linkage between Hangout Chat and Questetra
2. Settings on Hangout Chat
3. Settings on Questetra
4. Closing

 

1. Overview of linkage between Hangout Chat and Questetra

The flow of processing is like the following figure.
In the example flow, a result of an approval request on Questetra is posted to Hangout
Chat as its content and the link to the details.

 

2. Settings on Hangout Chat

After creating a chat room, configure webhook and obtain the post URL, then write it down.

 

3. Settings on Questetra

Use the following Add-on.

* Although it is also available using “Throwing Message intermediate Event (HTTP)” in accordance with API definition, using Add-on is easier.

* See the following for the details of “Throwing Message Intermediate Event (HTTP)”
 M225: Auto Sending of HTTP Request with Business data Inserted

Download the Add-on file below and import it to Questetra App in reference to this page (M415).

 Hangouts Chat Post Message

Config items are as the following.

Config name Required Type
A: Endpoint URL Required Enter the endpoint URL obtained earlier
B: Select TEXT DATA for Text Required Select a String type Data Item (multiple lines) that is storing the text you want to post
X: Select TEXT DATA for Log Optional Specify a String type Data Item to store log output if needed

* If you set up the following in the text field of Data Item as the initial value, the wording to be posted will be prepared automatically.
(Substitute the part “XXX.questetra.net” with the value of your own environment.)

Your request has been approved. [Details] https://XXX.questetra.net/OR/ProcessInstance/listView?processInstanceId=#{processInstanceId}
 Otherwise, there is another method using “Service Task (Data assignment)” before the Add-on.
  Related document: M227: Auto Executing Data Binding, Arithmetic Operations

 

4. Closing

When you run it, it will be posted like the following.

Thus, you can insert a processing of posting to Hangout Chat into a business flow only with easy settings.

If you have any question, please feel free to Contact us.