Skip to main content
Search Again

We think these articles could help you:

    See More

    ALERT: This site will be decommissioned at the end of December 2018. All existing and new Nintex knowledge content will be available within the new Knowledge Base area of the Nintex Community site. 

    Nintex Knowledge Base

    Finding Allowed Actions Through PowerShell

    Status: Validated

    Is it possible to find all of the allowed actions within the SharePoint environment via Powershell or the NWAdmin command?
    While there is not an NWAdmin command to retrieve this information, it can be done partially through a Powershell call to the Nintex Configuration database. Powershell will need to call the the 'dbo.IsActivityAllowed' stored procedure within the Nintex Configuration database and pass it the Site ID, Web ID, action Activity Type and Activity Assembly. The following is an example of how the stored procedure is formatted:
    USE [NW2013DB] 
    DECLARE @return_value int, 
    @Allowed bit 
    EXEC @return_value = [dbo].[IsActivityAllowed] 
    @SiteID = '84D84A77-28BD-454A-895A-8463695AB44D', 
    @WebID = 'F8D1C8E0-9C8C-450E-BE24-BD8A007C83A6', 
    @ActivityType = N'Microsoft.SharePoint.WorkflowActions.DelayUntilActivity', 
    @ActivityAssembly = N'Microsoft.SharePoint.WorkflowActions, Version=, Culture=neutral, PublicKeyToken=71e9bce111e9429c', 
    @Allowed = @Allowed OUTPUT 
    SELECT @Allowed as N'@Allowed' 
    SELECT 'Return Value' = @return_value 
    • Was this article helpful?