New creation in CRM standard mask
In the process workflow the user can start a new creation. The created dataset is available as a variable in the further course of the process. The new creation in the process circumvents the restrictive action right for the new creation of the selected entity.
The new creation in BPM circumvents the restrictive action right for the new creation of the selected entity.
You can select the name of the entity on which the dataset is based.
Fields can be preset via the IContainer variable. It should be noted that this IContainer must be created with the method WorkSpaceScriptUtils.createEmptyEntry(<EntityName>, null)
, otherwise there may be problems with standard logics if they only take effect if the field is not yet contained in the IContainer. If the IContainer was created using the WorkSpaceScriptUtils.createDefaultEntry(<EntityName>)
method, all fields are already included.
This default setting also applies to the fast entry mask.
If the new creation in the sub area is desired, the relation name and the parent primary key can be stored.
If the option Close new creation mask is active, the level will be closed after saving, but only if a new level with this one dataset was opened for it.
The IContainer variable contains the created dataset after the new creation is completed. If the option Continue without new creation was selected, the result variable is empty.
The Continue action is available in the process context for the new creation.