Recently, I have prepared add-on XML Service Task definition files for cooperation with several enterprise social networking tools in response to some requests.
In this post I will introduce one for use with Typetalk.
1. Overview of linkage between Typetalk and Questetra
The processing flow is like the following figure.
In the example flow the result of an approval request on Questetra is posted to Typetalk with a link to the details.
2. Settings on Typetalk
Regarding the authentication method, a “Typetalk token” or OAuth2 can be used. We are going to set up OAuth2 (Authorization Code) in this post.
Define the bot along the following procedures and obtain a URL including the Typetalk token.
3. Settings on Questetra
Use the following add-on.
* Although it is also possible using a Throwing Message intermediate Event (HTTP) in accordance with the API definition, using the add-on is easier.
Download the add-on file below and import it to Questetra App in reference to this page (M415).
Config items are as follows.
|A: URL||Yes||Enter URL including the Typetalk token|
|B: Select TEXT DATA for Post Message||Yes||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 the log output if needed|
* If you set up the following in the text field of a 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.)
Related document: M227: Auto Executing Data Binding, Arithmetic Operations
* See this document for the details of message formatting.
When you run it, it will be posted like the following.
Thus, you can embed the process of posting to Typetalk into a business flow just using simple settings.
If you have any questions, please feel free to Contact us.