Compute
Elastic Cloud Server
Huawei Cloud Flexus
Bare Metal Server
Auto Scaling
Image Management Service
Dedicated Host
FunctionGraph
Cloud Phone Host
Huawei Cloud EulerOS
Networking
Virtual Private Cloud
Elastic IP
Elastic Load Balance
NAT Gateway
Direct Connect
Virtual Private Network
VPC Endpoint
Cloud Connect
Enterprise Router
Enterprise Switch
Global Accelerator
Management & Governance
Cloud Eye
Identity and Access Management
Cloud Trace Service
Resource Formation Service
Tag Management Service
Log Tank Service
Config
OneAccess
Resource Access Manager
Simple Message Notification
Application Performance Management
Application Operations Management
Organizations
Optimization Advisor
IAM Identity Center
Cloud Operations Center
Resource Governance Center
Migration
Server Migration Service
Object Storage Migration Service
Cloud Data Migration
Migration Center
Cloud Ecosystem
KooGallery
Partner Center
User Support
My Account
Billing Center
Cost Center
Resource Center
Enterprise Management
Service Tickets
HUAWEI CLOUD (International) FAQs
ICP Filing
Support Plans
My Credentials
Customer Operation Capabilities
Partner Support Plans
Professional Services
Analytics
MapReduce Service
Data Lake Insight
CloudTable Service
Cloud Search Service
Data Lake Visualization
Data Ingestion Service
GaussDB(DWS)
DataArts Studio
Data Lake Factory
DataArts Lake Formation
IoT
IoT Device Access
Others
Product Pricing Details
System Permissions
Console Quick Start
Common FAQs
Instructions for Associating with a HUAWEI CLOUD Partner
Message Center
Security & Compliance
Security Technologies and Applications
Web Application Firewall
Host Security Service
Cloud Firewall
SecMaster
Anti-DDoS Service
Data Encryption Workshop
Database Security Service
Cloud Bastion Host
Data Security Center
Cloud Certificate Manager
Edge Security
Managed Threat Detection
Blockchain
Blockchain Service
Web3 Node Engine Service
Media Services
Media Processing Center
Video On Demand
Live
SparkRTC
MetaStudio
Storage
Object Storage Service
Elastic Volume Service
Cloud Backup and Recovery
Storage Disaster Recovery Service
Scalable File Service Turbo
Scalable File Service
Volume Backup Service
Cloud Server Backup Service
Data Express Service
Dedicated Distributed Storage Service
Containers
Cloud Container Engine
SoftWare Repository for Container
Application Service Mesh
Ubiquitous Cloud Native Service
Cloud Container Instance
Databases
Relational Database Service
Document Database Service
Data Admin Service
Data Replication Service
GeminiDB
GaussDB
Distributed Database Middleware
Database and Application Migration UGO
TaurusDB
Middleware
Distributed Cache Service
API Gateway
Distributed Message Service for Kafka
Distributed Message Service for RabbitMQ
Distributed Message Service for RocketMQ
Cloud Service Engine
Multi-Site High Availability Service
EventGrid
Dedicated Cloud
Dedicated Computing Cluster
Business Applications
Workspace
ROMA Connect
Message & SMS
Domain Name Service
Edge Data Center Management
Meeting
AI
Face Recognition Service
Graph Engine Service
Content Moderation
Image Recognition
Optical Character Recognition
ModelArts
ImageSearch
Conversational Bot Service
Speech Interaction Service
Huawei HiLens
Video Intelligent Analysis Service
Developer Tools
SDK Developer Guide
API Request Signing Guide
Terraform
Koo Command Line Interface
Content Delivery & Edge Computing
Content Delivery Network
Intelligent EdgeFabric
CloudPond
Intelligent EdgeCloud
Solutions
SAP Cloud
High Performance Computing
Developer Services
ServiceStage
CodeArts
CodeArts PerfTest
CodeArts Req
CodeArts Pipeline
CodeArts Build
CodeArts Deploy
CodeArts Artifact
CodeArts TestPlan
CodeArts Check
CodeArts Repo
Cloud Application Engine
MacroVerse aPaaS
KooMessage
KooPhone
KooDrive

Interface for Querying RPA Task Details

Updated on 2023-09-27 GMT+08:00

Description

This interface is invoked to query RPA task details.

Interface Method

POST

URL

https://IP:PORT/oifde/rest/api/rpa/queryJobDetails

Request

Table 1 Parameters in the request body

Parameter

Type

Position

Mandatory

Description

tenantId

String

Body

Yes

Tenant ID.

The value can contain a maximum of 64 characters.

jobName

String

Body

No

Task name. (jobName can be used as a search criterion. If it is specified, uid can be set to null. Either jobName or uid must be passed.)

uid

String

Body

No

Task UUID. (If both jobName and uid are specified, uid is used. Either jobName or uid must be passed.)

authToken

String

Body

Yes

Valid token value for accessing the interface.

You can obtain the valid token information by invoking the interface for obtaining tokens.

For details, see C3 OIAP Interface Authentication.

The value can contain a maximum of 32 characters.

Response

Table 2 Parameters in the response body

Parameter

Type

Position

Mandatory

Description

errorCode

Int

Body

Yes

Error code.

The value 0 indicates success and other values indicates failure.

errorMsg

String

Body

No

Error message.

jobDetail

RpaDetailJobResult[]

Body

No

Queue details.

Table 3 RpaDetailJobResult

Parameter

Type

Position

Mandatory

Description

uid

String

Body

Yes

Task UUID.

jobName

String

Body

Yes

Task name.

startTime

String

Body

No

Job start time.

The format is yyyy-mm-dd HH:mm:ss.

createTime

String

Body

Yes

Job creation time.

The format is yyyy-mm-dd HH:mm:ss.

workstationName

String

Body

No

Executor name.

clusterName

String

Body

No

Cluster name.

runMode

String

Body

Yes

Running mode. The value can be online.

mode

String

Body

Yes

Execution mode. The options are once, repeat, and queueTrigger.

jobType

String

Body

Yes

Task type, which is fixed at procedure.

status

String

Body

Yes

Task status for search. The options are as follows:

  • init: to be executed
  • running: running
  • suspend: suspended
  • success: completed

procedureName

String

Body

Yes

Script package name.

procedureVersion

String

Body

Yes

Script package version.

description

String

Body

Yes

Task description.

timeout

Integer

Body

No

Task timeout period.

recentTaskStatus

String

Body

No

Latest job status. This field is not returned for tasks that do not generate jobs.

queueUid

String

Body

No

Queue UUID.

queueName

String

Body

No

Queue name.

Example

  • Request
    {
        "tenantId": "202201072597",
        "authToken": "hjbLfhU*******************Fv3nq",
        "uid": "0c9358552188478a8d5ff9203db8791f"
    }
  • Response
    {
        "errorCode": 0,
        "errorMsg": null,
        "jobDetail": {
            "jobName": "AICC_RPA",
            "queueUid": "00019cad3dd5c71d4696b209d7024fa04d3a",
            "workstationName": "AICC_RPA",
            "runMode": "online",
            "timeout": 120,
            "mode": "queueTrigger",
            "uid": "0c9358552188478a8d5ff9203db8791f",
            "procedureVersion": "1.0.5",
            "queueName": "Case creation",
            "createTime": "2022-04-24 17:12:02",
            "procedureName": "AICC_RPA",
            "startTime": "2022-04-29 11:47:25",
            "jobType": "procedure",
            "recentTaskStatus": "failed",
            "status": "running"
        }
    }

We use cookies to improve our site and your experience. By continuing to browse our site you accept our cookie policy. Find out more

Feedback

Feedback

Feedback

0/500

Selected Content

Submit selected content with the feedback