we would like to set a trigger on AD so that on a group, user or structure change below a specific branch we can automatically start a script to update our postgres DB.
Is it possible? which is the best solution?
thanks
G.
I know an eventID is triggered when a user account is created.
It's EventID 4720: A user account was created.
You can then schedule a task via Task Scheduler.
Select an eventon the Triggers tab, there you can specify an EventID and run a task when this event is triggered.
You can check a list of events on https://www.ultimatewindowssecurity.com/securitylog/encyclopedia/Default.aspx
Related
Could you please let me know if there is a way to get an email alert if a schedule is created or a change is done to the existing schedule on Azure Data Factory Pipelines? This requirement is to monitor any schedule changes/ new schedule creations happening in the production environment and restrict them if done without proper approval in the project.
I tried using Azure log analytic workspace to achieve this requirement but the existing ADF log tables(ADFActivityRun, ADFPipelineRun, ADFTriggerRun) do not have any such information holding to write query (maybe am missing anything). Please let me know your views.
Many thanks in advance.
Thank you
For Roles and Permissions in ADF, you need Contributor role to create, edit, and delete data factories and child resources including datasets, linked services, pipelines, triggers, and integration runtimes.
You can create custom rule for a group where users can only monitor a data factory (or factories) but can't modify it.
You can refer this third-party tutorial on how to Create Azure Custom Reader Role for Data Factory and assign the role to a user whom you just want to give read permission.
For alerts, you can use Azure Monitor service to monitor and create alerts for your Azure Data Factory actions.
To get started, simply navigate to the Monitor tab in your data factory, select Alerts & Metrics, and then select New Alert Rule.
Give a name to your rule. Provide the severity to the alert. Add criteria to create a alert. There are plenty of scenarios available in the provided in-built criteria list. Then click on Configure notification.
The Configure notification allows you to choose options like Email, SMS, Azure notification and Voice call. You can choose multiple options as per your requirement.
Do we have any OOTB workflow step that can take a user input (like Date selection) Schedule time to take in one workflow step and trigger the next step according to the scheduled time.
You will have to create a new page action like "Schedule for Review" in the authoring mode. See this https://github.com/Adobe-Marketing-Cloud/aem-authoring-extension-header-backtosites
On click of the page. You can take the user to a custom servlet that will scheduler you workflow.
#Reference
Scheduler scheduler
scheduler.schedule()
your workflow can be triggered using workflowSession
For the scheduled for approval step - use a dialog participant step and associate a dialog with your participant step. This will ensure your user inputs approval schedule date and time
Write a process step to attach another scheduler to your previous approval request you can use #Replicator to publish page at run time
I have configured the workflow for a particular user group(author), who can only initiate the workflow, rest of the workflow steps should not be shown to user. In the current scenario if I am giving user to execute the workflow then all the process steps are showing in his page. I want to restrict the author to perform other process steps, they should only initiate the request only.
Please provide more information in the user group privileges so that I can allow or deny these rights to particular user.
thanks in advance
To restrict access for users from this group to all steps (except triggering workflow), these steps should be assigned to other participant (like administrators group).
You can assign the steps to the wf initiator or you can use other participant selector and there you can specify the assignee of the workflow. This way you can define which groups have access to the dialog.
on the Sitecore Workflow and Security reference data sheets, i see these:
Workflow State Delete controls whether or not a security account (user or role) can delete items which are currently associated with a
specific workflow state
Workflow State Write controls whether or not a security account can update items which are currently associated with a specific
workflow state
Workflow Command Execute controls whether or not an account is able to view workflow commands
So, i'm on the Security Editor, adding permissions to my creator and publisher roles, so it really makes sense to me adding Delete and Write permissions to individual workflow states, but i don't see an Execute column for commands. How am i supposed to set these permissions for the roles?
The image below should answer your question:
I advancing learning about JBPM 5 and Drools flows. I have successfully setup a User Registration process and managed to run it as a web application. The process looks is shown below
You can check out the screenshot here [http://i.stack.imgur.com/y7JZ1.png]
What i want to do right now is, before reaching the User Task node where the user verifies his email, i need to send him a link in the Email task. The link must take the User TaskID (primary key), so that when the user clicks on the link, i can complete the task using the TaskID supplied in the URL.
My worry now is, the User task node is reached only after the email is sent. Therefore the Task is not yet created in the database. Is there any alternative way of doing this.
Or
If i can send a mail after reaching the User task, how can i get the primary key of the User Task??
Please help.
You should try with the onExit and onEntry extensions attached to the User Task node and remove the Email node. In that way as soon as the process reaches the Task Node you can get the work Item Id (something like the nodeId) that you can use to query the Human Task component to find the task associated with that node to complete it.
Cheers