RPA Code Generation Using Contextual NLP for Process Documents

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Manual coding for robotic process automation systems is time-consuming and costly, requiring developers to understand the process and components of the system, including APIs, and is prone to errors due to ambiguity in identifying parts of speech.

Innovation Solution

The system uses artificial intelligence, specifically natural language processing and image recognition, to automatically generate robotic process automation code by building a contextual dictionary and applying a maximum matching algorithm to identify verb-object pairs, reducing ambiguity and improving accuracy.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Ease of manufacture

If manual coding is used for robotic process automation, then developers can create customized automation solutions, but the process becomes time-consuming and costly

Engineering Contradiction:
Improveease of code generationVSAvoidtime for manual coding
Core Design Contradiction:
Ease of manufactureVSLoss of time

Solution Approach 1:

The system enables self-service automated code generation by allowing the robotic process automation system to automatically generate its own code from process description documents without requiring manual developer intervention. The system processes the documentation and autonomously produces executable automation code, eliminating the time-consuming manual coding process while maintaining customization capabilities.

Inventive Principle:
Principle #25Self-service

Solution Approach 2:

The patent replaces the mechanical process of manual coding with an automated information processing system. Instead of developers manually writing code based on process descriptions, the system uses computational processing to automatically translate process documentation into executable automation code, significantly reducing the time and resources required.

Inventive Principle:
Principle #28Mechanics substitution (Replace mechanical system)

2Reliability

If manual coding is used, then developers have full control over the automation logic, but errors occur due to ambiguity in identifying parts of speech

Engineering Contradiction:
Improveaccuracy of process automationVSAvoidcomplexity of code generation process
Core Design Contradiction:
ReliabilityVSDevice complexity

Solution Approach 1:

The patent introduces an intermediary natural language processing layer between the process description document and the automation code generation. This intermediary system processes the textual documentation, identifies parts of speech and semantic relationships, and translates them into structured automation logic, eliminating ambiguity and reducing errors while maintaining manageable complexity through specialized processing algorithms.

Inventive Principle:
Principle #24Intermediary (Mediator)

Solution Approach 2:

The system incorporates feedback mechanisms where the automated code generation process continuously refines its understanding of the process description by analyzing the structure and semantics of the documentation. The system uses feedback from the processing stage to improve accuracy in identifying actions and objects, reducing errors while managing complexity through iterative refinement.

Inventive Principle:
Principle #23Feedback

3Adaptability or versatility

If developers manually understand and code the process, then customization is possible, but the cost increases

Engineering Contradiction:
Improvecustomization capabilityVSAvoidcost of manual development
Core Design Contradiction:
Adaptability or versatilityVSLoss of energy

Solution Approach 1:

The system enables self-service automated code generation by allowing the robotic process automation system to automatically generate its own code from process description documents without requiring manual developer intervention. The system processes the documentation and autonomously produces executable automation code, eliminating the time-consuming manual coding process while maintaining customization capabilities.

Inventive Principle:
Principle #25Self-service

Solution Approach 2:

The patent creates a universal code generation system that can handle various types of process descriptions and generate appropriate automation code across different scenarios. This multi-functional approach allows the same system to process different documentation formats and generate customized automation solutions without requiring separate manual development processes, reducing costs while maintaining adaptability.

Inventive Principle:
Principle #6Universality (Multi-functionality)

Data Source

PatentUS11613008B2Automating a process using robotic process automation code
Publication Date: 2023.03.28 INTERNATIONAL BUSINESS MACHINE CORPORATION
  • US11613008B2 patent drawing
  • US11613008B2 patent drawing
  • US11613008B2 patent drawing

AI summary

A system for automating a process using robotic process automation code includes a memory device for storing program code, and at least one processor device operatively coupled to the memory device. The at least one processor device is configured to execute program code stored on the memory device to process, based on a contextual dictionary, a process description document associated with a process to be automated by a robotic process automation system, automatically generate robotic process automation code based on the processing, and execute the robotic process automation code for automating the process.