Skip to main content

Hello,

I want to use the padLeft functionality to change a variable in my NAC workflow.

Is it possible to use any functions in the workflow, or are they exclusivly for Nintex Forms?
Using Nintex for SharePoint 2019 it was possible to use the functions inside of a workflow like

fn-padLeft(txtDocumentID, 5, "0")

Is there maybe a workaround to achive this without buildung a custom action for NAC?

Thank you and best regards

Niklas

Hi @NiklasG,

Would using a modify string action achieve the desired outcome?
 

 


Hi @NiklasG,

Would using a modify string action achieve the desired outcome?
 

 

Hi @SimonMuntz 

this would only partially achive my desired outcome since this would always add the same number of zeros without consideration of the length of the ID.

ID 12     → TD_0012
ID 123   → TD_00123
ID 1234 → TD_001234


Hi @NiklasG,

The Nintex Gallery has a connector for padding a string.
https://gallery.nintex.com/t/toolkit-for-nwc


Hi @NiklasG,

The Nintex Gallery has a connector for padding a string.
https://gallery.nintex.com/t/toolkit-for-nwc

Hi @SimonMuntz,

how do I add this to my workflows?
The online documention doesn’t explain this.


Hi @NiklasG,

Please see the Xtensions help files.
https://help.nintex.com/en-US/xtensions/01_GetStarted/PRC_01Create_Connector.htm?tocpath=Add%20a%20custom%20connector%20to%20Nintex%20Automation%20Cloud%7C_____0

 

They are added from the Automate > Xtensions tab in Nintex Automation Cloud.
The actions will then appear in the Action toolbox.

 

 


Hi @NiklasG,

Please see the Xtensions help files.
https://help.nintex.com/en-US/xtensions/01_GetStarted/PRC_01Create_Connector.htm?tocpath=Add%20a%20custom%20connector%20to%20Nintex%20Automation%20Cloud%7C_____0

 

They are added from the Automate > Xtensions tab in Nintex Automation Cloud.
The actions will then appear in the Action toolbox.

 

 

Hi @SimonMuntz 

I created the Xtension according to your guide, but I get a 404 when using the action inside my workflow. What am I missing?


Hi @NiklasG,

It's strange that you are getting that error.
Here is a workflow using existing actions that will pad left any number to 5 digits using zeros.
You can add this to your workflow or create a component workflow that you call to do the padding.
Workflow key: SBoHLXYYTEM2R1GehXhifWAxe5Mgs5wcFoGKjhTbTg6rAKaPL


Reply