cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Got an error when adding a Custom Inline Function in command line

Jump to solution

Hi All,

I tried this article http://www.vadimtabakman.com/nintex-workflow-developing-a-custom-inline-function.aspx

but got this message when i tried to run below command in command line.

nwadmin -o AddInlineFunction -functionalias "fn-VTRandom" -assembly "VTInlineFunctions, Version=1.0.0.0, Culture=neutral, PublicKeyToken=eecb9361e97d9908" -namespace "VTInlineFunctions" -typename "VTRandom" -method "Random" -description "Generates a random number." -usage "fn-Random() or fn-Random(max) or fn-Random(min,max)"

This is the error message :

Command line execution error: Cannot insert duplicate key row in object 'dbo.Str ingFunction' with unique index 'IX_FunctionAliasUnique'.

Please let me know the reason for this error.

Thanks,

Vino

Labels: (2)
0 Kudos
Reply
2 Replies
Workflow Hero

Re: Got an error when adding a Custom Inline Function in command line

Jump to solution


Hi Vino,

I'd recommend you check the Nintex Workflow configuration database, specifically, the StringFunction table and see if you already have an inline function with that name (alias)..

cheers,

Vadim

0 Kudos
Reply
Not applicable

Re: Got an error when adding a Custom Inline Function in command line

Jump to solution

Hi Vadim,

Thanks for the reply. Its now came to the db and i got my inline function in designer.

Thanks a lot!

Reply