GetNewIdByKey

Description

This activity returns the first available value of an enumeration in DocsMarshal given its Key and its World

In DocsMarshal it is possible to store a series of keys that allow you to insert various elements of the application with a progressive identifier such as the number of an invoice, for example. Using this activity it is possible to get the next available code in an enumeration given its Key and its World. in fact, it is possible to use, for example, the key INVOICES both for the profiles and for the e-mails. In this case there will be two different enumerations with the same key but with different World. The latter is an enumeration indicating which DocsMarshal world you are working on. Some possible values are SecurityIdentity, Profile, ClassType, Mail or Unknown (click here to see the complete list)

DocsMarshal Connection

Orchestrator InArgument<IManager>

The orchestrator object represents the connection to a DocsMarshal installation.

If this argument is left null the activity will work on the running installation. To work on another installation you must get its orchestrator by the activity DatabaseOrchestrator.

Misc

KeyName InArgument<String> REQUIRED

The name of enumeration to get the next available value

Result OutArgument<Int32>

World EWorld

The world of enumeration to get the next available value