HAD Service Builder: Quick Start Tutorial for Beginners

Document created by Shoichi Yokoyama Employee on Jun 24, 2018Last modified by Shoichi Yokoyama Employee on Sep 6, 2018
Version 3Show Document
  • View in full screen mode

Developing Your First HAD Service Template

This is a tutorial for beginners of HAD Service Builder.

You can learn basic usage of the Service Builder:

  • How to create/update an automation flow and GUI of a service template
  • How to debug a service template
  • How to release a service template and make it available to service users

 

Overall Scenario

In this tutorial, we demonstrate to create a service template step by step from a scratch.

The service template we are creating in this tutorial is simple as shown below: Copy image files in a specific folder into another specific folder.

 

uc_basic_r2.png

 

This tutorial is organized into four steps below:

 

Step#
TitleYou can learn
Step1Create an one-step service template using a built-in plug-in
  • How to create a service template from scratch
  • How to use the built-in General Command plug-in
  • How to configure input/output GUI of a service template
  • How to debug a service template
  • How to create an automation flow which connects to an external server
Step2Add one more step and create a flow
  • How to use the built-in JavaScript plug-in
  • How to connect the steps and map input and output properties
  • How to debug a service template (break point, changing property value in debug)
Step3Create more complicated flow (iteration)
  • How to use the built-in Repeated Execution plug-in
  • How to connect the steps and map input and output properties
  • How to debug a service template (step execution)
Step4Create your own plug-in
  • How to create a custom plug-in (reusable plug-in)
  • How to release a service template to make it available for service users

 

 

 

Step1: Create an one-step service template using a built-in plug-in  (15min 46sec)

 

Add a first step to your automation flow, which simply execute "dir" command in a specific folder.

uc_step1.png

You can learn from Step1:

  • How to create a service template from scratch
  • How to use the built-in General Command plug-in
  • How to configure input and output GUI of a service template
  • How to debug a service template
  • How to create an automation flow which connects to an external server

 

 

 

Step2: Add one more step and create a flow  (10min 11sec)

 

uc_step2.png

You can learn from Step2:

  • How to use the built-in JavaScript plug-in
  • How to connect the steps and map input and output properties
  • How to debug a service template
    • How to set a break point
    • How to modify values of step properties dynamically in debug

 

 

 

Step3: Create more complicated flow (iteration) (13min 58sec)

 

uc_step3.png

You can learn from Step3:

  • How to use the built-in Repeated Execution plug-in
  • How to connect the steps and map input and output properties
  • How to debug a service template
    • How to run a task step by step

 

 

 

Step4: Create your own plug-in (14min 12sec)

 

uc_step4.png

You can learn:

  • How to create a custom plug-in
    • To include your own script so that the script can be reused in other service templates
    • To define  your own input and output properties flexibly
    • To be available on different platforms
  • How to release a service template to make it available for service users

 

 

 

Related Links

Attachments

    Outcomes