--- title: "General Functions" slug: "general-functions-1" updated: 2024-11-25T08:23:38Z published: 2024-11-25T08:23:38Z canonical: "help.sovelia.com/general-functions-1" --- > ## Documentation Index > Fetch the complete documentation index at: https://help.sovelia.com/llms.txt > Use this file to discover all available pages before exploring further. # General Functions Sovelia Vault Contains several standard Actions that can be set up into Action sets. Those action sets can be executed from Vault events or manually. **NOTE:** After a configuration is done, the Vault client, the CAD program with vault add-ins and the jobprocessor need to be logged out and back in to load the most u-to-date configuration ![image.png](https://cdn.document360.io/b4de53ee-d7ea-47b4-9a73-8323e3c9c14c/Images/Documentation/image%28208%29.png) ## Job creation condition If the condition is not met, no job is created. Action is only created if this condition is empty or evaluates to true. Include property names within square brackets and values within double quotes. Logical operators AND. OR. NOT can be used. Compare equality with = and inequality with <> **Vault Proprties are available** ![image.png](https://cdn.document360.io/b4de53ee-d7ea-47b4-9a73-8323e3c9c14c/Images/Documentation/image%28209%29.png) **Computed Values are available** ![image.png](https://cdn.document360.io/b4de53ee-d7ea-47b4-9a73-8323e3c9c14c/Images/Documentation/image%28210%29.png) ## Action execution conditions If the condition is not met, no job is created. Action is only created if this condition is empty or evaluates to true. Include property names within square brackets and values within double quotes. Logical operators AND. OR. NOT can be used. Compare equality with = and inequality with <> **Vault Proprties are available** ![image.png](https://cdn.document360.io/b4de53ee-d7ea-47b4-9a73-8323e3c9c14c/Images/Documentation/image%28211%29.png) **Computed Values are available** ![image.png](https://cdn.document360.io/b4de53ee-d7ea-47b4-9a73-8323e3c9c14c/Images/Documentation/image%28212%29.png) ## CSV export format When CSV file export is select there are some choices for format, naming and location. The file can be delivered to a folder, mapped drive or a UNC path. ![image.png](https://cdn.document360.io/b4de53ee-d7ea-47b4-9a73-8323e3c9c14c/Images/Documentation/image%28213%29.png) **File export location** This is where the csv file get stored when created **Include folder structure** The Vault Folder structure can be duplicate to the export location. **Download to workspace** This should be used as "True" on Inventor models. Inventor will look in the workspace for related files. If workspace is not used the files will be downloaded to the temp folder and the export may fail or be incorrect. **Temp folder location** Location to load temporary files needed for data export. Leave empty to use systems default temp folder. **Inseparable settings** Include or exclude inseparable rows for Inventor assemblies ![image.png](https://cdn.document360.io/b4de53ee-d7ea-47b4-9a73-8323e3c9c14c/Images/Documentation/image%28214%29.png) **BOM options** "Root only" option does not require Inventor of any kind, it uses Vault Values. The rest of the options uses Inventor Apprentice server where specified and full Inventor otherwise. "Apprentice" means that no inventor license is needed. ![image.png](https://cdn.document360.io/b4de53ee-d7ea-47b4-9a73-8323e3c9c14c/Images/Documentation/image%28215%29.png) **CSV formatting** The csv file can be formatted as Standard or excel ![image.png](https://cdn.document360.io/b4de53ee-d7ea-47b4-9a73-8323e3c9c14c/Images/Documentation/image%28216%29.png) **Generate columns headers** This will create column headers from the property name that are exported. If set to "False" we need to create new headers manually to match the exported rows. **Generate spesific Headers** There is a drop down where column headers can be added if the vault name is not to be used. ![image.png](https://cdn.document360.io/b4de53ee-d7ea-47b4-9a73-8323e3c9c14c/Images/Documentation/image%28217%29.png) **Sort by property name** If selected, then the exported rows are sorted by "property name" content. **Sort numeric** Since the exported rows can be sorted by different properties, this setting specify if the row content are only numeric values (For example Item Number1) and can be sorted numerically, or a text. **Same As Source File name** The filename of the exported file can be the same as the origin file. But if set to "False" the filename must be built from vault data. ![image.png](https://cdn.document360.io/b4de53ee-d7ea-47b4-9a73-8323e3c9c14c/Images/Documentation/image%28218%29.png) ## XLSX export format When XLSX file export is select there are some choices for format, naming and location. The file can be delivered to a folder, mapped drive or a UNC path. ![image.png](https://cdn.document360.io/b4de53ee-d7ea-47b4-9a73-8323e3c9c14c/Images/Documentation/image%28450%29.png) **File export location** This is where the csv file get stored when created **Include folder structure** The Vault Folder structure can be duplicate to the export location. **Download to workspace** This should be used as "True" on Inventor models. Inventor will look in the workspace for related files. If workspace is not used the files will be downloaded to the temp folder and the export may fail or be incorrect. **Temp folder location** Location to load temporary files needed for data export. Leave empty to use systems default temp folder. **Inseparable settings** Include or exclude inseparable rows for Inventor assemblies ![image.png](https://cdn.document360.io/b4de53ee-d7ea-47b4-9a73-8323e3c9c14c/Images/Documentation/image%28214%29.png) **BOM options** "Root only" option does not require Inventor of any kind, it uses Vault Values. The rest of the options uses Inventor Apprentice server where specified and full Inventor otherwise. "Apprentice" means that no inventor license is needed. ![image.png](https://cdn.document360.io/b4de53ee-d7ea-47b4-9a73-8323e3c9c14c/Images/Documentation/image%28215%29.png) **Generate columns headers** This will create column headers from the property name that are exported. If set to "False" we need to create new headers manually to match the exported rows. **Generate spesific Headers** There is a drop down where column headers can be added if the vault name is not to be used. ![image.png](https://cdn.document360.io/b4de53ee-d7ea-47b4-9a73-8323e3c9c14c/Images/Documentation/image%28217%29.png) **Sort by property name** If selected, then the exported rows are sorted by "property name" content. **Sort numeric** Since the exported rows can be sorted by different properties, this setting specify if the row content are only numeric values (For example Item Number1) and can be sorted numerically, or a text. **Same As Source File name** The filename of the exported file can be the same as the origin file. But if set to "False" the filename must be built from vault data. ![image.png](https://cdn.document360.io/b4de53ee-d7ea-47b4-9a73-8323e3c9c14c/Images/Documentation/image%28218%29.png) ## XML Export format When selecting XML file export some choices for format, naming and location are available. The file can be delivered to a folder, mapped drive or a UNC path. ![image.png](https://cdn.document360.io/b4de53ee-d7ea-47b4-9a73-8323e3c9c14c/Images/Documentation/image%28219%29.png) **File export location** This is where the csv file get stored when created **Include folder structure** The Vault Folder structure can be duplicate to the export location. **Download to workspace** This should be used as "True" on Inventor models. Inventor will look in the workspace for related files. If workspace is not used the files will be downloaded to the temp folder and the export may fail or be incorrect. **Temp folder location** Location to load temporary files needed for data export. Leave empty to use systems default temp folder. **Inseparable settings** Include or exclude inseparable rows for Inventor assemblies ![image.png](https://cdn.document360.io/b4de53ee-d7ea-47b4-9a73-8323e3c9c14c/Images/Documentation/image%28220%29.png) **BOM options** "Root only" option does not require Inventor of any kind, it uses Vault Values. The rest of the options uses Inventor Apprentice server where specified and full Inventor otherwise. "Apprentice" means that no inventor license is needed. ![image.png](https://cdn.document360.io/b4de53ee-d7ea-47b4-9a73-8323e3c9c14c/Images/Documentation/image%28221%29.png) **XSLT file location** XSLT stands for XSL Transformations. XSLT can be used to transform XML documents into otherformats. like HTML or CSV. It's commonly used to format the original XML to an XML format that fits your own preference. ![image.png](https://cdn.document360.io/b4de53ee-d7ea-47b4-9a73-8323e3c9c14c/Images/Documentation/image%28222%29.png) **XSLT output file extension** ![image.png](https://cdn.document360.io/b4de53ee-d7ea-47b4-9a73-8323e3c9c14c/Images/Documentation/image%28223%29.png) **Examples:** csv. html. Changes the file extension of your exported file. **Same As Source Filename** The filename of the exported file can be the same as the origin file. But if set to "False" the filename must be built from vault data. ![image.png](https://cdn.document360.io/b4de53ee-d7ea-47b4-9a73-8323e3c9c14c/Images/Documentation/image%28224%29.png) ## SQL Export format When selecting SQL file export some choices for format, naming and location are available. The file can be delivered to a folder, mapped drive or a UNC path. ![image.png](https://cdn.document360.io/b4de53ee-d7ea-47b4-9a73-8323e3c9c14c/Images/Documentation/image%28225%29.png) **Download to workspace** This should be used as "True" on Inventor models. Inventor will look in the workspace for related files. If workspace is not used the files will be downloaded to the temp folder and the export may fail or be incorrect. **Temp folder location** Location to load temporary files needed for data export. Leave empty to use systems default temp folder. **Inseparable settings** Include or exclude inseparable rows for Inventor assemblies ![image.png](https://cdn.document360.io/b4de53ee-d7ea-47b4-9a73-8323e3c9c14c/Images/Documentation/image%28226%29.png) **BOM options** "Root only" option does not require Inventor of any kind, it uses Vault Values. The rest of the options uses Inventor Apprentice server where specified and full Inventor otherwise. "Apprentice" means that no inventor license is needed. ![image.png](https://cdn.document360.io/b4de53ee-d7ea-47b4-9a73-8323e3c9c14c/Images/Documentation/image%28227%29.png) **SQL connection string** Add the conection string to the database where the data will be delivered ![image.png](https://cdn.document360.io/b4de53ee-d7ea-47b4-9a73-8323e3c9c14c/Images/Documentation/image%28228%29.png) **Database Table** Name of the database table where the data can be written into ![image.png](https://cdn.document360.io/b4de53ee-d7ea-47b4-9a73-8323e3c9c14c/Images/Documentation/image%28229%29.png) ## JSON Export format When selecting JSON file export some choices for format, naming and location are available. The file can be delivered to a folder, mapped drive or a UNC path. ![image.png](https://cdn.document360.io/b4de53ee-d7ea-47b4-9a73-8323e3c9c14c/Images/Documentation/image%28449%29.png) **File export location** This is where the csv file get stored when created **Include folder structure** The Vault Folder structure can be duplicate to the export location. **Download to workspace** This should be used as "True" on Inventor models. Inventor will look in the workspace for related files. If workspace is not used the files will be downloaded to the temp folder and the export may fail or be incorrect. **Temp folder location** Location to load temporary files needed for data export. Leave empty to use systems default temp folder. **Inseparable settings** Include or exclude inseparable rows for Inventor assemblies ![image.png](https://cdn.document360.io/b4de53ee-d7ea-47b4-9a73-8323e3c9c14c/Images/Documentation/image%28220%29.png) **BOM options** "Root only" option does not require Inventor of any kind, it uses Vault Values. The rest of the options uses Inventor Apprentice server where specified and full Inventor otherwise. "Apprentice" means that no inventor license is needed. ![image.png](https://cdn.document360.io/b4de53ee-d7ea-47b4-9a73-8323e3c9c14c/Images/Documentation/image%28221%29.png) **Same As Source Filename** The filename of the exported file can be the same as the origin file. But if set to "False" the filename must be built from vault data. ![image.png](https://cdn.document360.io/b4de53ee-d7ea-47b4-9a73-8323e3c9c14c/Images/Documentation/image%28224%29.png) ## Export to Network When selecting PDF file export there are some choices for location. ![image.png](https://cdn.document360.io/b4de53ee-d7ea-47b4-9a73-8323e3c9c14c/Images/Documentation/image%28230%29.png) **Publish to network** If this is set to "True" a file can be placed on a network. We can send to folder, mapped folder or UNC path. ![image.png](https://cdn.document360.io/b4de53ee-d7ea-47b4-9a73-8323e3c9c14c/Images/Documentation/image%28231%29.png) **Destination folder** A file can be placed on a network. We can send to folder, mapped folder or UNC path. ![image.png](https://cdn.document360.io/b4de53ee-d7ea-47b4-9a73-8323e3c9c14c/Images/Documentation/image%28232%29.png) **Base subfolders on** If we turn on Base subfolders we can select a property on the file and create sub folders based on that name ![image.png](https://cdn.document360.io/b4de53ee-d7ea-47b4-9a73-8323e3c9c14c/Images/Documentation/image%28233%29.png) If Part Number is "D13671.idw" the folder path will be "C:\Jobserver\pdf\D1\D13" New Base Folders from 2024.1 From Sovelia Vault 2024.1 there is a new "Base Folders On" functionality. Example (3); 3 characters from the left of the property (L); Set to Lowercase (U); Set to uppercase Example: Title((3)(L) \ Description(4)(U) ![image.png](https://cdn.document360.io/b4de53ee-d7ea-47b4-9a73-8323e3c9c14c/Images/Documentation/image%28554%29.png) **Include Username** If "True" it will create a folder with the Vault username at the Destination folder where the files are added. ![image.png](https://cdn.document360.io/b4de53ee-d7ea-47b4-9a73-8323e3c9c14c/Images/Documentation/image%28234%29.png) **Include Folder Structure** If "True" it will create a duplicated Vault folder structure in the Desination folder. ![image.png](https://cdn.document360.io/b4de53ee-d7ea-47b4-9a73-8323e3c9c14c/Images/Documentation/image%28235%29.png) **Keep previous versions** If a file with same name already exists, move it to archive folder. ![image.png](https://cdn.document360.io/b4de53ee-d7ea-47b4-9a73-8323e3c9c14c/Images/Documentation/image%28236%29.png) ## Export to Vault When we select PDF file export we get some choices for format, naming, properties, watermark and location. ![image.png](https://cdn.document360.io/b4de53ee-d7ea-47b4-9a73-8323e3c9c14c/Images/Documentation/image%28237%29.png) **Publish to Vault** If this is set to "True" a file can be placed in the Vault. ![image.png](https://cdn.document360.io/b4de53ee-d7ea-47b4-9a73-8323e3c9c14c/Images/Documentation/image%28238%29.png) **Destination** A file can be placed in the same folder as the source file. ![image.png](https://cdn.document360.io/b4de53ee-d7ea-47b4-9a73-8323e3c9c14c/Images/Documentation/image%28239%29.png) **Destination folder** A file can be placed in a predefined folder in Vault ![image.png](https://cdn.document360.io/b4de53ee-d7ea-47b4-9a73-8323e3c9c14c/Images/Documentation/image%28240%29.png) **Base subfolders on** If we turn on Base subfolders we can select a property on the file and create sub folders based on that name ![image.png](https://cdn.document360.io/b4de53ee-d7ea-47b4-9a73-8323e3c9c14c/Images/Documentation/image%28241%29.png){height="" width=""} If Part Number is "D13671.idw" the folder path will be "C:\Jobserver\pdf\D1\D13" New Base Folders On 2024.1 From Sovelia Vault 2024.1 there is a new "Base Folders On" functionality. Example (3); 3 characters from the left of the property (L); Set to Lowercase (U); Set to uppercase Example; Title(L)(3) \ Description(4)(U) ![image.png](https://cdn.document360.io/b4de53ee-d7ea-47b4-9a73-8323e3c9c14c/Images/Documentation/image%28554%29.png) **Link to source document** If this is "True" the pdf will be linked to the source file. ![image.png](https://cdn.document360.io/b4de53ee-d7ea-47b4-9a73-8323e3c9c14c/Images/Documentation/image%28242%29.png) **Change revision to same as source file** If "True" it will change revision to the same as the source file. Make sure that the job-processor user have access rights to change state on the pdf. Tip When changing revision and state on the pdf same as the parent file; Always use ***released*** as work state and make sure that the pdf lifecycle support that jobprocessor can change state. ![image.png](https://cdn.document360.io/b4de53ee-d7ea-47b4-9a73-8323e3c9c14c/Images/Documentation/image%28243%29.png) **Change State to same as source file** If "True" it will change state to the same as the source file. Make sure that the jobpro-cessor user have access rights to change state on the pdf. ![image.png](https://cdn.document360.io/b4de53ee-d7ea-47b4-9a73-8323e3c9c14c/Images/Documentation/image%28244%29.png) **Work state** Manually enter the work state that the ***resulting*** file will have. In order for the output files to be attached to the correct revisions in Vault, Sovelia Vault needs to have a work state where the files are attached, after which the old state, or the source file state is applied again. ![image.png](https://cdn.document360.io/b4de53ee-d7ea-47b4-9a73-8323e3c9c14c/Images/Documentation/image%28245%29.png) **Category** Change Category used in output file ![image.png](https://cdn.document360.io/b4de53ee-d7ea-47b4-9a73-8323e3c9c14c/Images/Documentation/image%28246%29.png) **Hidden** If "True" the file will be set to hidden ![image.png](https://cdn.document360.io/b4de53ee-d7ea-47b4-9a73-8323e3c9c14c/Images/Documentation/image%28247%29.png) ## How to run a custom action? [Video](https://cdn.document360.io/b4de53ee-d7ea-47b4-9a73-8323e3c9c14c/Images/Documentation/2022-04-28_18-21-12.mp4) ## Action sets The Action Sets are a way to collect Actions and run them in a sequence ![image.png](https://cdn.document360.io/b4de53ee-d7ea-47b4-9a73-8323e3c9c14c/Images/Documentation/image%28249%29.png) **General** Add the name of the Action Set ![image.png](https://cdn.document360.io/b4de53ee-d7ea-47b4-9a73-8323e3c9c14c/Images/Documentation/image%28250%29.png) **Triggering** - Allow manual Execution (True/False) - Event Selector to select which event should trigger the action set: - On State Change - On Check in file - On Check Out File - On Add file ![image.png](https://cdn.document360.io/b4de53ee-d7ea-47b4-9a73-8323e3c9c14c/Images/Documentation/image%28251%29.png) - On State change; Choose wether to run action set on a specific lifecycle state transi-tion or when the Vault Released flag is reached, or select a specific state. - Released State -Specific State -Manual Only ![image.png](https://cdn.document360.io/b4de53ee-d7ea-47b4-9a73-8323e3c9c14c/Images/Documentation/image%28252%29.png) - Lifecycle definition is used when Specific state is chosen in the menu. Allows you to select a lifecycle. ![image.png](https://cdn.document360.io/b4de53ee-d7ea-47b4-9a73-8323e3c9c14c/Images/Documentation/image%28253%29.png) - From State and To State is used when a specific lifecycle is chosen ![image.png](https://cdn.document360.io/b4de53ee-d7ea-47b4-9a73-8323e3c9c14c/Images/Documentation/image%28254%29.png) **Execution Condition** Action Execution conditions **Job Processor** - Job que priority;Autodesk have 100 as highest priority so we can use all above. If several action sets are created on the same file type, on the same event they can be prioritized in what order to run. - Use Inventor Server if available; As from the 2022 version of Autodesk Vault the need for Autodesk Inventor is almost zero. Set to true if you dont have any spesific actions that need inventor. ![image.png](https://cdn.document360.io/b4de53ee-d7ea-47b4-9a73-8323e3c9c14c/Images/Documentation/image%28255%29.png) **Failure Handling** - Pre-event failure restricts event; Should a failure of any preevent actions restrict the actual state change from happening? - Admin override Pre-event failure event; If the user is an administrator, then it's pos-sible to override failures that restricts the actual state change from happening. - Post-event failure prevents queued actions; Should a failure of any post-event ac-tions prevent the queuing of action to Job processor? - Admin override: Post-event failure event; If the user is an administrator, then it's possible to override failures that restricts the actual state change from happening. ![image.png](https://cdn.document360.io/b4de53ee-d7ea-47b4-9a73-8323e3c9c14c/Images/Documentation/image%28256%29.png) **Actions** This is where we can add actions to run on ; - **On client Pre event;** For example If we want to add properties to a file before we change state we can do it on client - **On client Post Event;** For example if we want to delete previous revision data and synchronize properties when a file goes back to work in progress. - **On Jobprocessor;** This will end up in the job que and run on jobprocessor. We can prevent any further state change before the current job is done using the compli-ance setup in Autodesk Vault. ![image.png](https://cdn.document360.io/b4de53ee-d7ea-47b4-9a73-8323e3c9c14c/Images/Documentation/image%28257%29.png) - The Select action window let us select the actions and add them in the order they shall run ![image.png](https://cdn.document360.io/b4de53ee-d7ea-47b4-9a73-8323e3c9c14c/Images/Documentation/image%28258%29.png) **NOTE:** After a configuration is done, the Vault client, the CAD program with vault add-ins and the jobprocessor need to be logged out and back in to load the most u-to-date configuration ## General Configurations There are some configurations that will be the same for most of the actions. **General** This is where we give the Acton a name so we will recognize it when we want to use it as we might have many PDF actions for different purposes ![image.png](https://cdn.document360.io/b4de53ee-d7ea-47b4-9a73-8323e3c9c14c/Images/Documentation/image%28275%29.png) **Job creation condition** Action is only created if [this condition](https://help.sovelia.com/docs/general-functions-1#1-job-creation-condition) is empty or evaluates to true. ![image.png](https://cdn.document360.io/b4de53ee-d7ea-47b4-9a73-8323e3c9c14c/Images/Documentation/image%28276%29.png) **Execution Condition** Action is only created if [this condition](https://help.sovelia.com/docs/general-functions-1#2-action-execution-conditions) is empty or evaluates to true. ![image.png](https://cdn.document360.io/b4de53ee-d7ea-47b4-9a73-8323e3c9c14c/Images/Documentation/image%28277%29.png) **Enable manual execution** If true this action can be run manually from the Sovelia® Vault menu inside Autodesk Vault. ![image.png](https://cdn.document360.io/b4de53ee-d7ea-47b4-9a73-8323e3c9c14c/Images/Documentation/image%28278%29.png) **Select your export location** You have two options, [**export to Vault**](https://help.sovelia.com/docs/general-functions-1#-export-to-vault) or export to a [**Network location**](https://help.sovelia.com/docs/general-functions-1#-export-to-network). Follow the links to learn more. **Open with defer updates** Open with defer updates on inventor files will not require any model updates. ![image.png](https://cdn.document360.io/b4de53ee-d7ea-47b4-9a73-8323e3c9c14c/Images/Documentation/image%28279%29.png) **Download to workspace** If Inventor files, the workspace should always be used. ![image.png](https://cdn.document360.io/b4de53ee-d7ea-47b4-9a73-8323e3c9c14c/Images/Documentation/image%28280%29.png) **Temp folder loction** If not set, the default temp folder will be used. ![image.png](https://cdn.document360.io/b4de53ee-d7ea-47b4-9a73-8323e3c9c14c/Images/Documentation/image%28281%29.png) **Save and check in source document** Save and check in the source Vault document after generating the secondary file. ![image.png](https://cdn.document360.io/b4de53ee-d7ea-47b4-9a73-8323e3c9c14c/Images/Documentation/image%28282%29.png) **Same As Source Filename** We can use the filename of the exported file same as the origin file. If set to "False" we need to build a filename from vault data. ![image.png](https://cdn.document360.io/b4de53ee-d7ea-47b4-9a73-8323e3c9c14c/Images/Documentation/image%28283%29.png) ## Base Subfolders On This functionality was added in Sovelia Vault 2024.1. (3); 3 characters from the left of the property (L); Set to Lowercase (U); Set to uppercase Example: [Title](/docs/3)(U)[Description](4)(U) (Its mandatory to use Uppercase/lowercase) ![image.png](https://cdn.document360.io/b4de53ee-d7ea-47b4-9a73-8323e3c9c14c/Images/Documentation/image-SZRU487P.png) The order of things are important. If you want to use the properties with text you need to set it up in this order: PartNumber](1)(U)text[PartNumber](2)(U)text[PartNumber](3)(U)text if part number is 12345 you will get : 1text\12text\123\text