# Derived Sample Automation Tokens

When configuring automations in the BaseSpace Clarity LIMS, copy tokens from the Tokens list and paste them into the Command-Line field.

These tokens are available for use in derived sample automations. If using multiple variables, add a space between each entry. All tokens and parameters are case-sensitive.

<table><thead><tr><th width="185">Token</th><th>Purpose</th><th>Example</th></tr></thead><tbody><tr><td>{username}</td><td>Supplies the username being configured in client.properties for the Automation Worker running the automation.</td><td><p><code>cmd /c "C:\ai\ai.bat {username}"</code></p><p>resolves to:</p><p><code>cmd /c C:\ai\ai.bat apiuser</code></p></td></tr><tr><td>{password}</td><td>Supplies the password of the username being configured in client.properties for the Automation Worker running the automation.</td><td><p><code>cmd /c "C:\ai\ai.bat {password}"</code></p><p>resolves to:</p><p><code>cmd /c C:\ai\ai.bat 3BlindMice</code></p><p>In log files, the password supplied on the command line is replaced with a series of *** characters.</p></td></tr><tr><td>{baseURI}</td><td>Supplies the base API URI to the triggered automation script.</td><td><p><code>cmd /c "C:\ai\ai.bat {baseURI}"</code></p><p>resolves to:</p><p><code>cmd /c C:\ai\ai.bat https://lims.lan.29/api</code></p></td></tr><tr><td>{derivedSampleLuids}</td><td>Supplies the derived sample LIMS IDs to the triggered automation script.</td><td><p><code>cmd /c "C:\ai\ai.bat {derivedSampleLuids}"</code></p><p>resolves to:</p><p><code>cmd /c C:\ai\ai.bat 2-1641 2-1642 2-1643</code></p></td></tr><tr><td>{userinput:customParameterName}</td><td>Allows for data input to supply the triggered automation script. Custom parameters are identified with the prefix 'userinput:'</td><td><p>The following command line requires the user to input a value for 'more_yield':</p><p><code>yieldscript.sh -y {userinput:more_yield} -u {username}</code></p></td></tr></tbody></table>
