Skip to content

sch6393/sch6393-system-uip

Repository files navigation

sch6393-system-UIP

sch6393-system-UIP


README.md


Server


Web Page


TimeZone

  • Asia/Tokyo (GMT+9)

Sample Test

  • Directory
    ├ sch6393-system-UIP
    │  ├ ...
    │  ├ ApiKey
    │  │  └ sch6393-system.key  ← 1
    │  ├ Function
    │  ├ Log
    │  ├ Process
    │  │  ├ Process.xaml        ← 2
    │  │  └ Sample.xaml         ← 2
    │  ├ .gitignore
    │  ├ ...
    
  1. Download key file and put key file in ApiKey folder

  2. Put this sample file in Process folder

  3. Create sample task and write sample script in Add Task

    {
      "type": "uipath",
      "xaml": "Sample.xaml"
    }
  • Create new xaml file must declare an argument
    Name Direction Argument Type
    arg_joScript In Newtonsoft.Json.Linq.JObject

Parsing Script

JObject joScript = JObject.Parse(arg_jaHttpReturn[0]["script"].ToString());
String str_a = joScript["a"].ToString();

API

  • Get Queue
    • Info

      Name Value
      URL https://sch6393-system-nodejs.herokuapp.com/api/queue/first
      Method POST
    • Request Parameters

      Name Type Description
      userUid String
      apikey String
      factor String Client Classification
    • Response

      [
        {
          "seqqueue":"----------------------",
          "id":"----------------------------",
          "script":"{
                      "a": "a",
                      "b": "b",
                      "c": "c"
                    }"
        }
      ]

Get userUid, apikey

  • Web Page ➞ About
    • Download key file
      userUid
      apikey
      factor
      

      File name : sch6393-system.key


Add Task Script


# Add iTask Script
* [Web Page](#Web-Page) ➞ iTask List ➞ Add iTask

Suspend


# Group (Task)
* [Web Page](#Web-Page) ➞ Dash Board ➞ Task ➞ Add Task ➞ Group ON/OFF
* Execute in order by registered iTasks on group (Limit 5 iTasks)
  >Queues, Tasks are Displayed yellow by executed in group

Suspend


Crontab (Task)

# *       *     *    *      *
# Minutes Hours Days Months Week

# Example
# At minute 30 past hour 11 and 15 on every day-of-week from Monday through Friday
30 11,15 * * 1-5

# At minute 0 past hour 0 and 12 on day-of-month 1 in every 2nd month
0 0,12 1 */2 *

https://crontab.guru/