Workwflow delete action - liferay

I'm using Liferay 7.2.
I create a workflow for web content.
It works for update action, it is possibile add the "delete" action to workflow?
I don't want that a user can delete a pdf file without approval

Related

How can I add a button to approve tasks to a sharepoint list?

I want to make the approval process easier. For this I have thought of adding a button to a column of a sharepoint list.
The user would see the list of tasks pending approval and clicking on the task button would automatically be approved.
How can i do this (workflow,javascript...)? Is that possible?
Thanks for your answers.
Using the sharepoint workflow system, the user can approve from the task detail form already.
If you want to make it more user friendly as you suggested, you may program an extra field, using JSLink technology to customize the task list rendering or to add this approval button from an other list (I assume you are using sharepoint 2013 on premise) from which you call javascript API to trigger the approval.
Read more :
JSOM Api to approve a task
JSLINK
Yes, a workflow would work. I would have a separate "Approved" column that defaults to "No" (don't show it on the form). And run a workflow (upon form submit?) that changes the value of Approved to "Yes".

SharePoint workflow new document upload

Hello this is probably really simple but I do not have much experience with creating workflows
I am using SharePoint WSS 3.0 on SBS 2008
I want an email to be sent automatically when a new document is added to a document library when a user clicks the new button and fills out the document, then saves it to the library
I have figured out how to send the email but I cant get it to send the email automatically upon creation of the new document, I always have to manually start the workflow
I have selected "Automatically start this workflow when a new item is created
I know I need to create a condition but I'm unsure what I need to create?
Here is my workflow
http://cl.ly/image/2K2r3r3F1Z1O
Here are the columns in the document library
http://cl.ly/image/433i450s1D3O
Any help would be great
Check the workflow settings. It may be set to "No New Instances", which happens when you redeploy workflows.

How do create a Sharepoint 'Mash up' combining Document Library and Project Tasks?

I want to create a custom sharepoint site where I can use the 'Project Tasks' Template but additionally, allow users to attach documents to each task ah-la the Document Library template. How do I do this? do I need to use Sharepoint Designer?
It is enabled by default. In your Project Tasks list, click New. In addition to the fields (Title, Priority, Task Status, etc), there should be an Attach File button on the toolbar. The Attach File button will present you with a screen similar to the Upload Document screen of a Document Library.

Sharepoint Workspace EventHandling

I want to capture the Event when a User Deletes a WorkSpace /Site , I have to perfomr some Action.
how to capture the Website deletion Event?
You can use the WebDeleting event, this has to be added to a web by a feature recevier (it is not possible to do this declaratively in CAML in a site definition for instance).
Just create a feature and activate that on the sites invvolved.
It is also possible to use SEventReg, more information here:
SEventReg

sharepoint workflow

I am new this sharepoint development and i have task in hand to do the following.
1.When a new document added to the library, the system will prompt for approvers & audience from a database table. this will be stored for future revisions for the document.
2. Upon successful completion of assigning approvers, audience the system will initiate the workflow to complete the approval process.
It would be great if anyone can point the direction to do the following:
1.is it possible to call a aspx page/form from document library insert/update event?
2.How to assign approvers to a workflow programmatically?
Thanks in Advance!
Alex
I'm not sure it is possible to explicitly call another page but you can use the "Source" url parameter to specify the page they are directed to after they press OK. Obviously, you will have to change "www.google.com" to be your new URL.
/Lists/Announcements/NewForm.aspx?Source=www.google.com
You can probably do all of this using custom workflow. With custom workflow you have two options: creating the entire workflow in visual studio or create custom workflow actions and using SharePoint Designer to build the workflow.
Building custom Workflow Actions.

Resources