GetAsanaObject

Description:

This processor collects data from Asana

Additional Details...

Tags:

asana, source, ingest

Properties:

In the list below, the names of required properties appear in bold. Any other properties (not in bold) are considered optional. The table also indicates any default values.

Display NameAPI NameDefault ValueAllowable ValuesDescription
Asana Client Serviceasana-controller-serviceController Service API:
AsanaClientProviderService
Implementation: StandardAsanaClientProviderService
Specify which controller service to use for accessing Asana.
Distributed Cache Servicedistributed-cache-serviceController Service API:
DistributedMapCacheClient
Implementations: CassandraDistributedMapCache
SimpleRedisDistributedMapCacheClientService
CouchbaseMapCacheClient
HBase_2_ClientMapCacheService
DistributedMapCacheClientService
RedisDistributedMapCacheClientService
HazelcastMapCacheClient
Cache service to store fetched item fingerprints. These, from the last successful query are stored, in order to enable incremental loading and change detection.
Object Typeasana-object-typeTasks
  • Tasks Collect tasks matching to the specified conditions.
  • Task Attachments Collect attached files of tasks matching to the specified conditions.
  • Projects Collect projects of the workspace.
  • Tags Collect tags of the workspace.
  • Users Collect users assigned to the workspace.
  • Members of a Project Collect users assigned to the specified project.
  • Teams Collect teams of the workspace.
  • Team Members Collect users assigned to the specified team.
  • Stories of Tasks Collect stories (comments) of of tasks matching to the specified conditions.
  • Status Updates of a Project Collect status updates of the specified project.
  • Attachments of Status Updates Collect attached files of project status updates.
  • Events of a Project Collect various events happening on the specified project and on its' tasks.
Specify what kind of objects to be collected from Asana
Project Nameasana-project-nameFetch only objects in this project. Case sensitive.

This Property is only considered if the [Object Type] Property is set to one of the following values: [Members of a Project], [Attachments of Status Updates], [Status Updates of a Project], [Task Attachments], [Stories of Tasks], [Tasks], [Events of a Project]
Section Nameasana-section-nameFetch only objects in this section. Case sensitive.

This Property is only considered if the [Object Type] Property is set to one of the following values: [Task Attachments], [Stories of Tasks], [Tasks]
Teamasana-team-nameTeam name. Case sensitive.

This Property is only considered if the [Object Type] Property has a value of "Team Members".
Tagasana-tag-nameFetch only objects having this tag. Case sensitive.

This Property is only considered if the [Object Type] Property is set to one of the following values: [Task Attachments], [Stories of Tasks], [Tasks]
Output Batch Sizeasana-output-batch-size1The number of items batched together in a single Flow File. If set to 1 (default), then each item is transferred in a separate Flow File and each will have an asana.gid attribute, to help identifying the fetched item on the server side, if needed. If the batch size is greater than 1, then the specified amount of items are batched together in a single Flow File as a Json array, and the Flow Files won't have the asana.gid attribute.

Relationships:

NameDescription
removedNotification about deleted objects are routed to this relationship. Flow files will not have any payload. IDs of the resources no longer exist are carried by the asana.gid attribute of the generated FlowFiles.
newNewly collected objects are routed to this relationship.
updatedObjects that have already been collected earlier, but were updated since, are routed to this relationship.

Reads Attributes:

None specified.

Writes Attributes:

NameDescription
asana.gidGlobal ID of the object in Asana.

State management:

This component does not store state.

Restricted:

This component is not restricted.

Input requirement:

This component does not allow an incoming relationship.

System Resource Considerations:

ResourceDescription
MEMORYAn instance of this component can cause high usage of this system resource. Multiple instances or high concurrency settings may result a degradation of performance.