Skip to main content

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
email 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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

nacwrap-0.1.2.tar.gz (8.3 kB view details)

Uploaded Source

Built Distribution

nacwrap-0.1.2-py3-none-any.whl (10.4 kB view details)

Uploaded Python 3

File details

Details for the file nacwrap-0.1.2.tar.gz.

File metadata

  • Download URL: nacwrap-0.1.2.tar.gz
  • Upload date:
  • Size: 8.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/5.1.1 CPython/3.12.7

File hashes

Hashes for nacwrap-0.1.2.tar.gz
Algorithm Hash digest
SHA256 c49dfc126ddabc31759c413ddc6376739cae125bc2fed942d7e733ebccb828cb
MD5 9ea83093d0dc87ba36f44e4f834b6578
BLAKE2b-256 24f577c6a40dba7c8f04c6bcfe20ae23506b0f546eabe25051d9d879ed1227fa

See more details on using hashes here.

Provenance

The following attestation bundles were made for nacwrap-0.1.2.tar.gz:

Publisher: python-publish.yml on pepsimidamerica/nacwrap

Attestations:

File details

Details for the file nacwrap-0.1.2-py3-none-any.whl.

File metadata

  • Download URL: nacwrap-0.1.2-py3-none-any.whl
  • Upload date:
  • Size: 10.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/5.1.1 CPython/3.12.7

File hashes

Hashes for nacwrap-0.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 24b2a04ca7a629a861ecc34c61783d17b76a58642e9f894b5f0fea25b9ebe8a6
MD5 22f5e0c8a787d3dbba3052bbd17b78ca
BLAKE2b-256 4da736de05ce93dc7daf6d30e6d34a4d7cd3b14a0bcceaad649618b568c27adb

See more details on using hashes here.

Provenance

The following attestation bundles were made for nacwrap-0.1.2-py3-none-any.whl:

Publisher: python-publish.yml on pepsimidamerica/nacwrap

Attestations:

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page