workflow

Sitecore Workflow Is Not Working

强颜欢笑 提交于 2019-12-19 04:21:14
问题 I already have an content item (item) with template A. Template A has not set any workflow initially and I set a new workflow in template's standard value. If I go to the content item's workflow section, there is only "Default workflow" update. The fields "Workflow" and "State" are empty even I set "Initial State" in the workflow's property, as shown below screenshot. So, workflow process is not working on that item. However, if I create new item with the template already set workflow, I

different permissions based on workflow state

被刻印的时光 ゝ 提交于 2019-12-19 03:33:27
问题 I need to set up different permission on an object based on its workflow state. For instance, 'manager group' can edit the object only if state=draft but 'super manager group' can edit it also if state=validated. It seems that's not possible using ir.model.access and I'm evaluating if it could be done using ir.rule . It seems not... Is there a official way to get this or do I need to implement this feature (maybe by adding a condition into ir.model.access machinery). 回答1: This is not possible

Delay activity not always working in Sharepoint 2010 workflow

為{幸葍}努か 提交于 2019-12-19 03:22:50
问题 Currently we have a sequential workflow in sharepoint 2010 that has a delay activity. The delay is set to five minutes. The workflow checks on the status of five tasks and depending on the results, it either delays or completes. I have a workflow history log item set to write right before the delay and right after the delay. Sometimes the delay does not fire, an example would be as follows: Delay activity fires every five minutes for 3 full days on one item, then for no particular reason it

CQ5 Programmatically Run a Workflow

浪尽此生 提交于 2019-12-18 12:22:09
问题 I created a workflow, in CQ, that needed to be run programmatically via XHR. As many of you may know, CQ Documentation isn't the greatest (at least for this point). How can I run it programmatically ? 回答1: After poking around for a while I wrote a servlet that runs a Workflow Model. Here is the code with comments: @Component @Service @Properties({ @Property(name = "sling.servlet.paths", value = "/bin/runmodel"), @Property(name = "sling.servlet.methods", value = "GET") }) public class

How To: debug Scala code when outside of an IDE

ぃ、小莉子 提交于 2019-12-18 11:44:53
问题 I'm experimenting with using jEdit as my main editor for writing Scala code. Along side jEdit I'm using Apache Buildr and DTerm. This all works well, except I'm really not sure how I would go about debugging Scala application outside of a large IDE? Are there recommended practices/tools for debugging outside of an IDE? 回答1: I am not sure you can debug entirely through the CLI. Any Java-based debug tool should be enough. This SO question mentions jswat , which also has a console mode. It is

Workflow best practice with git and github?

╄→尐↘猪︶ㄣ 提交于 2019-12-18 11:04:36
问题 I have been using git and github with my small team of developers for our projects. I can't help but think that we aren't doing it right. I am interested to hear how others use this workflow within their projects. How we use it: We branch before each change, merge back into the master, commit locally and push to our github repo. We then ssh into our testing environment and pull the master branch of the github repo. We haven't quite grasped rebase , fetch or tagging just yet. How I would like

asp.net survey questionnaire engine

◇◆丶佛笑我妖孽 提交于 2019-12-18 10:24:14
问题 I am looking to implement (or build as a last resort) a type of survey engine that allows for extensibility and integration into an existing workflow engine. The survey/questionnaire engine should allow for admin users to add new questions and response types (text/bool/multiple/etc), should use SQL Server for persistence and ASP.NET 2.0 or greater. It should leverage AD for Windows Integrated Auth and security. Does anyone know of a good (free or cheap is even better) off-the shelf solution

How can Gulp be restarted upon each Gulpfile change?

醉酒当歌 提交于 2019-12-18 10:02:14
问题 I am developing a Gulpfile . Can it be made to restart as soon as it changes? I am developing it in CoffeeScript. Can Gulp watch Gulpfile.coffee in order to restart when changes are saved? 回答1: You can create a task that will gulp.watch for gulpfile.js and simply spawn another gulp child_process. var gulp = require('gulp'), argv = require('yargs').argv, // for args parsing spawn = require('child_process').spawn; gulp.task('log', function() { console.log('CSSs has been changed'); }); gulp.task

How to back up private branches in git

左心房为你撑大大i 提交于 2019-12-18 09:56:26
问题 I have a local branch for day-to-day dev work in git. My workflow is: Do stuff on local_branch, commit Fetch origin/master Rebase local_branch to catch up with new stuff from origin/master It all works fine, however most of the recommendations I encountered say that one should not "push" private branches, on which rebase is regularly performed. The problem here is that in this case local branch is not backed up to a server and the only way to save the work is to merge it back to "pushable"

WorkFlow 工作流 学习笔记

别来无恙 提交于 2019-12-18 04:14:45
传统ERP为制造业企业产供销人财物的管理提供了一整套优化企业资源利用,集物流、信息流、资金流为一体的现代化管理工具。但是它在过程集成和企业间集成方面存在不足。具体表现在:    1.传统ERP是一个面向功能的事务处理系统。它为业务人员提供了丰富的业务处理功能,但是每个业务处理都不是孤立的,它一定与其他部门、其他人、其他 事务有关,这就构成了一个业务流程。传统ERP对这个业务流程缺乏有效的控制和管理。许多流程是由人工离线完成的。ERP产生了许多报表、文件被打印装订 成册,按流程规定交给有关领导审批。这样,后果之一是,领导置于系统之外,他们不关心系统的运行,使系统的实施效果大打折扣。后果之二是,信息化本该向无 纸化方向发展,但是由于没有业务流程的电子化控制,使得现行ERP系统不是省纸化、无纸化,而是多纸化。这不仅增加了系统的运行成本,而且大大降低了办公 效率,降低了业务流程标准化、规范化的管理和控制。   2.固化的业务流程非常不利于业务流程的改变。企业要不断地改进自己的管理,实施流程再造,所以ERP系统必须是功能可重构、流程可改变、高度柔性的系统。为此将工作流技术引入ERP系统就成为必然的结果。   工作流管理的基本概念    工作流的概念起源于生产组织和办公自动化领域。他是针对日常工作中具有固定程序的活动而提出的一个概念。目的是通过将一个具体的工作分解成多个任务、角 色