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

Use PowerShell to create Site Collection Nintex Workflow Constants

I have figured out how to create a Workflow constant with PowerShell, but I can't figure out how to create the constant as a Site Collection level constant.

Anyone have any idea's?

Reply
10 Replies
Not applicable

Re: Use PowerShell to create Site Collection Nintex Workflow Constants

Nevermind I figured it out. Just set the Web.Id parameter of the constructor to Empty.Guid

$web = Get-SPWeb -Identity "SiteUrlHere"

$guidEmpty = [System.Guid]::Empty;

$wfConstant = New-Object Nintex.Workflow.WorkflowConstant("MaxRulesTheConstants", "Werd", "WHAT!?YEAH!?", $false, $web.Site.Id, $guidEmpty, "String", $false);

$wfConstant.Update()

Reply
Automation Master
Automation Master

Re: Use PowerShell to create Site Collection Nintex Workflow Constants

I'm so glad you posted this! I'm interested in your work on what brought up this question. Please blog what you were working on!

Reply
Not applicable

Re: Use PowerShell to create Site Collection Nintex Workflow Constants

Hi, James Stafford​! I agree with Andrew, it would be a good blog post!

0 Kudos
Reply
Not applicable

Re: Use PowerShell to create Site Collection Nintex Workflow Constants

Be happy to. I have actually never put up a blog post so I am not sure where I should go.

From: "andrewg@intellinet.com" <community@nintex.com>

To: James Stafford <thisisjimmy@yahoo.com>

Sent: Tuesday, December 29, 2015 6:55 PM

Subject: Re: - Use PowerShell to create Site Collection Nintex Workflow Constants

#yiv9803593542 * #yiv9803593542 a #yiv9803593542 body {font-family:Helvetica, Arial, sans-serif;}#yiv9803593542 #yiv9803593542 h1, #yiv9803593542 h2, #yiv9803593542 h3, #yiv9803593542 h4, #yiv9803593542 h5, #yiv9803593542 h6, #yiv9803593542 p, #yiv9803593542 hr {}#yiv9803593542 .yiv9803593542button td {}

|

Nintex Community

|

Use PowerShell to create Site Collection Nintex Workflow Constants

reply from Andrew Glasser in Dev Talk - View the full discussionI'm so glad you posted this! I'm interested in your work on what brought up this question. Please blog what you were working on!

Reply to this message by replying to this email, or go to the message on Nintex Community

Start a new discussion in Dev Talk by email or at Nintex Community

Following Use PowerShell to create Site Collection Nintex Workflow Constants in these streams: Inbox

This email was sent by Nintex Community because you are a registered user.

You may unsubscribe instantly from Nintex Community, or adjust email frequency in your email preferences |

|

Reply
Not applicable

Re: Use PowerShell to create Site Collection Nintex Workflow Constants

Happy to help. If you visit Dev Talk​, you'll see a link for "actions" at the upper-right. (image below)

Just click that and select "blog," and type away.. 

No rush.  I just wanted to take the opportunity to let you know I am happy to see content created by members with good stuff to share.

All the best!

Frank

blogdev.PNG

Reply
Not applicable

Re: Use PowerShell to create Site Collection Nintex Workflow Constants

Huh. 

Maybe I don't have permissions for blogs? 

The only things I see under actions after I log in is Discussions and Feeds.#yiv9360426397 * #yiv9360426397 a #yiv9360426397 body {font-family:Helvetica, Arial, sans-serif;}#yiv9360426397 #yiv9360426397 h1, #yiv9360426397 h2, #yiv9360426397 h3, #yiv9360426397 h4, #yiv9360426397 h5, #yiv9360426397 h6, #yiv9360426397 p, #yiv9360426397 hr {}#yiv9360426397 .yiv9360426397button td {}

0 Kudos
Reply
Automation Master
Automation Master

Re: Use PowerShell to create Site Collection Nintex Workflow Constants

Try the same thing in the Learn More forum.

Reply
Not applicable

Re: Use PowerShell to create Site Collection Nintex Workflow Constants

Reply
Not applicable

Re: Use PowerShell to create Site Collection Nintex Workflow Constants

Sorry if I misled you! I moved the blog to Dev Talk for you.

Thanks for posting it!

0 Kudos
Reply