Hide Workflow from SiteAdmin - aem

We have a requirement in our project like we want to hide some workflows in siteadmin. We are using AEM 6.1. Please let us know if anybody has any solution. any help is highly appreciated.
Thanks,
Tushar

Using User Permissions
This can be controlled by user permissions. The permissions can be updated in useradmin console to remove read permission from the workflow models you want not be shown to user. Permissions can be managed via groups
Please note that there are 2 workflow models for Schedule Activation/Deactivation, the read access is required for these in case you want user to be able to use "Activate/Deactivate Later" OOTB functionality in siteadmin/damadmin console. These 2 are anyways not shown in workflow list while initiating workflow from siteadmin/damadmin console, but we should take care while removing read permissions.
This solution is verified.
Using Model changes
Model can updated to make it as system workflow refer Adobe Forum Link. Verify this one with Day Care to see if there is a side effect.

Related

Servicenow Why can't I change Workflow of a Catalog Item?

I am unable to change the workflow of an existing Item. For some Items I can change the workflow, for others I can't.
What might be the possible reasons?
Tasks in progress?
What else can block me from changing the workflow? It is for for no security issue, since I am admin and have nearly all roles.
Thank you in advance. (Version is Helsinki, but also in Fuji I have this issue)
This I can't change...it's greyed out:
This one I can change easily
If you had impersonated and modify/publish the workflow, the workflow cant be changed after impersonating back to your main account. To fix this you can impersonate the same user (you can find by workflow last updated) and check out to do changes. if the user has no admin roles, try giving admin roles and do the needed and strip the roles back.
Hope it would be helpful. Let me know if it resolved the issue.

Start a workflow on page activation without activating the page in AEM 6.2

I need a setup where users can update a page and then submit it for approval/activation in AEM 6.2. The page would be submitted to workflow where a content approver/administrator would review and publish the page. This seems like a common setup for content managment, but I can't figure out how to do it in AEM.
I have done the following:
setup a user that has permission to update but does NOT have
replicate permission on folderX.
setup users with update and replicate permissions on folderX and added them to a group "content-authors-approvers"
created a workflow where the first step of the workflow is the page will be submitted for approval and publication to member of "content-authors-approvers" group
assigned this workflow to folderX
However, when a user does NOT have replicate permission, the "publish" option does not show up at all. This makes sense, really....but then, how does one go about setting up a workflow like this?
From what I've read about this in earlier versions of AEM/CQ5, the replicate/publish option was still available to all users, but it would automatically kick off workflow if the user did not have replicate permissions. (see Start a workflow on page activation without activating the page in CQ5 )
this seems to have changed in 6.2. can anyone help?
I have tried looking up online, but found nothing
There is a native workflow to handle that. It's named Publish Example. see it here: http://localhost:4502/etc/workflow/models/publish_example.html . I believe that it's better then the automatic triggering cause the author actually knows he triggers a workflow (whilst when it happened automatically there was no info about that). To explicitly call it you have to either from /siteadmin select a page and click workflow on it, or do it from sidekick or in touch.
sidekick:
touch - editpage:

kentico version 9 locking publish to certain users

I have looked around quite a bit, and understand workflow, and putting steps in place in terms od content editing but cannot see anywhere how I restrict roles to steps.
In short I want the bulk of my users to be able to edit and then submit for approval but not be able to publish (save).
Then I need a couple of 'global/super' users to be the only ones who are able to approve and then publish the content live.
This will apply to new pages, edits to existing, everything basically.
Users who can edit and save for approval.
The super users who can publish if they approve.
In the Workflow application there is Security tab per each step - advanced workflow only OR security tab for each custom step in basic workflow.
You can learn more here:
Configuring workflow step permissions
Advanced workflow:
Basic publishing with custom step:

Disabling customer login & registration on checkout in Magento

I've been looking for a few days now for a way to disable the automatic customer registration that occurs when a customer finishes an order in the checkout in Magento. What happens is that the user is logged in to his or her account, and two emails are sent. One containing the order confirmation, and another one, welcoming the user as a customer, including his or her account information.
What I'd like to do is to disable the email containing the welcome, and disable the registration/ login of the account.
Like I said, I've been trying to find some leads on where to look for a few days now, but to no avail. I'd appreciate if someone could help me figure out what files to look at, and also what parts of those files.
Also, maybe I should mention that the website is using a One Step Checkout.
Thanks in advance,
Base on your system setting you need to make changes in one of the two files listed below. Copy the templates to your custom theme folder and make the changes as needed to remove the login section and links.
/app/design/frontend/base/default/template/checkout/onepage/login.phtml
/app/design/frontend/base/default/template/persistent/checkout/onepage/login.phtml

How to get all the users list in Kaleo Workflow on Assign to Combo box?

I am working in Liferay Portal. I have created my custom work flow and created the portlet to start the work flow. I am done successfully with this but I am facing one problem, when the user clicks on Assign to button from Workflow Tasks to assign the task to some other user the combo box which display available users, it only display the users who has the Administrator or Owner Roles.
As i have developed custom work flow in which i have defined my own roles, i wish to display the users with that roles in the combo box. I have searched a lot but not able to get the proper solution for this.
If anyone has any idea please kindly help.
For this you have to create a hook and you have to write the code in file named "workflow_task_action.jsp" within Workflow_task.....
In this file code for that combobox which you require is available.