Hyland Rocket RPA API Helper: .Net dll to connect to the Hyland RPA API from e.g. Hyland OnBase

| | Allgemein

Link: https://github.com/marchorst/Hyland.Rocket.RPA.ApiHelper

With this dll you are able to connect to the Hyland RPA API.

Welcome to Hyland Rocket RPA API Helper

With this dll you are able to connect to the Hyland RPA API.


Getting started

Download

You can get the latest version in the releases here:
https://github.com/marchorst/Hyland.Rocket.RPA.ApiHelper/releases/latest

Dependencies

Name Version Target Framework Download
Newtonsoft.Json 11.0.2 net452 https://nuget.info/packages/Newtonsoft.Json/11.0.2
RestSharp 106.15.0 net452 https://nuget.info/packages/RestSharp/106.15.0

You can use any other version from the dependencies as well, but it is yet tested only with these versions.

Connect throw the API

// Initialize the API Connection
var rpaApiObject = new RpaApi("https://your.domain.without.ending.slash", "CLIENTID", "USERNAME", "PASSWORD");

Create a new Task

To create a new task you can either use the Create Method with some parameters or create a new "NewTask" object and use this as your parameter.

Example create a new Task with a DataTable

// Create a dummy DataTable if you want
var dt = new DataTable("Table");
dt.Columns.Add("ColName");
dt.Rows.Add("Test");

// Serialize it with the RpaHelper
var inputData = RpaHelper.SerializeDataTable(dt);

// Create a new Task
// 1.
ITask task = rpaApiObject.Tasks.Create(1, inputData);

// rpaApiObject.TasksRoute() and rpaApiObject.Tasks are the same
// You can create a new task either with the method above or use a "NewTask" Object as parameter.

// 2.
var newTaskObject = new NewTask()
{
	checkDiversity = true,
	diversity = "Test",
	inputData = inputData,
	processId = 1,
	redoable = true,
	type = RpaTaskType.PRO
};

ITask task2 = rpaApiObject.TasksRoute().Create(newTaskObject);

Get a Task by TaskID

To get a Task by the TaskID you can either use an ITask object or use the TaskID as an integer.

ITask task = rpaApiObject.TasksRoute().Get(task);

Helpers

Serialize a DataTable

RpaHelper.SerializeDataTable(DataTable table)

Serialize to JSON

RpaHelper.ToJson(object o)

Serialize any other

RpaHelper.Serialize(T obj)

Additional hints

OnBase Studio

When trying to import the Dlls' to the OnBase Studio, you have to be sure that all three Dlls' are in the same folder from where you import them.

Neueste Beiträge

Ein Leitfaden für Senioren: Günstige Smartphones bis 100 Euro – Unsere 4 Favoriten & Erfahrungsbericht einer maßgeschneiderten Senioren-Lösung – UPDATE 2024/25

In diesem Beitrag stellen wir dir vier günstige Smartphones vor, die aktuell (Stand Dezember 2024) für unter 100 Euro erhältlich sind. Zusätzlich teilen wir eine ganz besondere Geschichte aus dem Familienkreis: Wie wir eines dieser Geräte für die Oma meiner Verlobten eingerichtet haben, damit sie trotz ihrer Parkinson-Erkrankung gut damit zurechtkommt.


Weiter >>

Getting Started with Alfresco SDK/Development: A Beginner’s Guide to Automating File Organization with Alfresco Behaviors

Alfresco is an enterprise content management platform known for its flexibility and extensibility. One powerful way to extend its functionality is through Behaviors, which allow you to run custom logic whenever specific repository events occur. For example, you can trigger custom actions whenever nodes are created, updated, or deleted.


Weiter >>

Enhancing Alfresco’s Public API (ACS): A Step-by-Step Guide to Custom Node Extensions with MIME Type Restrictions

Introduction

In today’s digital landscape, controlling and validating the types of content users can upload into systems is essential for security and data integrity. Alfresco, a leading open-source content services platform, offers a flexible public API that enables developers to create custom extensions and adapt the platform to specific organizational needs. This article provides a step-by-step guide to implementing a MIME type restriction feature in Alfresco’s Nodes API, allowing for more controlled and secure content uploads.


Weiter >>

Warum der Air Assist unverzichtbar ist – Mein Erfahrungsbericht

Nachdem ich meinen ATOMSTACK A12 Ultra Laser[*] und die R2 V2 Drehwalze[*] in Betrieb genommen hatte, war es nur eine Frage der Zeit, bis ich mir zusätzlich ein Air Assist System zugelegt habe. Ich entschied mich für das DEWALLIE Air Assist Set[*], und ich kann schon vorweg sagen: Es war eine der besten Ergänzungen für meine Lasergravur-Setups, vor allem beim Arbeiten mit Holz!


Weiter >>