Python package that acts as a wrapper for the Nintex Automation Cloud system.
Project description
Overview
nacwrap is a python package for interacting with the Nintex Automation Cloud system. Creating workflow instances, delegating tasks, etc. Essentially just a wrapper for the NAC API.
Installation
pip install nacwrap
Usage
Several environment variables are required for nacwrap to function.
Required? | Env Variable | Description |
---|---|---|
Yes | NINTEX_CLIENT_ID | Client ID for connecting to Nintex API. Created in Apps and Tokens page in NAC. |
Yes | NINTEX_CLIENT_SECRET | Client secret for connecting to Nintex API. Created in Apps and Tokens page in NAC. |
Yes | NINTEX_GRANT_TYPE | Value should be 'client_credentials'. |
Yes | NINTEX_BASE_URL | Value depends on which Nintex region you are in. US is, for example 'us.nintex.io'. https://developer.nintex.com/docs/nc-api-docs/d2924cfeea6e8-welcome-to-the-nintex-automation-cloud-api#choose-your-region |
Instances - Create Instance
Function to create a workflow instance. Takes in two parameters.
Param | Description |
---|---|
workflow_id | The ID of the workflow you want to create an instance for. |
start_data | Optional, any start data the worklfow requires. Should be provided in dictionary format. Returns JSON response if successful. |
Instances - List Instances
Function to return instance data. Takes a number of parameters for filtering what instance data to get.
Tasks - Delegate Assignment (TODO)
Make function to delegate tasks from one user to another.
Tasks - Task Search
Returns Nintex Tasks as a list of NintexTask objects. Takes a number of parameters for filtering what tasks to retrieve.
Param | Description |
---|---|
workflow_name | Limit results to workflows matching this name. |
instance_id | Return tasks for a specific workflow instance id. |
status | Limit results to tasks with a particular status. |
assignee | Limit results to tasks assigned to a particular user. |
dt_from | Begin date of date filter range. |
dt_to | End date of date filter range. |
Users - List Users
Returns Nintex Users as a list of NintexUser objects. Takes a number of parameters for filtering what users to retrieve.
Param | Description |
---|---|
id | Limit results to user matching this guid |
Limit results to user matching this email | |
filter | Limit results to user matching this email or name |
role | Limit results to users matching this role |
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file nacwrap-0.1.5.tar.gz
.
File metadata
- Download URL: nacwrap-0.1.5.tar.gz
- Upload date:
- Size: 10.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/5.1.1 CPython/3.12.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | ec26ab2e5ee4500fe7c294b72d236eef4a9032a3b80e18a99cefda272aaa52c8 |
|
MD5 | 7f7e0c5e0fb7b670bcea45ae5527129d |
|
BLAKE2b-256 | 5598188b35117f46d4410607624dae07dca7181b3207991b564b22d7cf1a1985 |
Provenance
The following attestation bundles were made for nacwrap-0.1.5.tar.gz
:
Publisher:
python-publish.yml
on pepsimidamerica/nacwrap
-
Statement type:
https://in-toto.io/Statement/v1
- Predicate type:
https://docs.pypi.org/attestations/publish/v1
- Subject name:
nacwrap-0.1.5.tar.gz
- Subject digest:
ec26ab2e5ee4500fe7c294b72d236eef4a9032a3b80e18a99cefda272aaa52c8
- Sigstore transparency entry: 149522949
- Sigstore integration time:
- Predicate type:
File details
Details for the file nacwrap-0.1.5-py3-none-any.whl
.
File metadata
- Download URL: nacwrap-0.1.5-py3-none-any.whl
- Upload date:
- Size: 12.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/5.1.1 CPython/3.12.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 522b3d0fac84400f5f1c8f09794467ef76700ba4c2690aad17c09394028f1d45 |
|
MD5 | b1fbc2d996dc4359091340cbc1a4dcaf |
|
BLAKE2b-256 | 6fa64b553a940d68a27e219176f58e2c421803a4086881b1fbc693a7343d154a |
Provenance
The following attestation bundles were made for nacwrap-0.1.5-py3-none-any.whl
:
Publisher:
python-publish.yml
on pepsimidamerica/nacwrap
-
Statement type:
https://in-toto.io/Statement/v1
- Predicate type:
https://docs.pypi.org/attestations/publish/v1
- Subject name:
nacwrap-0.1.5-py3-none-any.whl
- Subject digest:
522b3d0fac84400f5f1c8f09794467ef76700ba4c2690aad17c09394028f1d45
- Sigstore transparency entry: 149522951
- Sigstore integration time:
- Predicate type: