workflow

Moving from ClearCase to Git

末鹿安然 提交于 2019-12-01 11:26:05
问题 I'm coming from a ClearCase background where we (simply speaking) had a workflow made up of three steps where the leftmost trunk was unstable, middle trunk is Quality Assurance and the rightmost was stable. i.e.) A A A | | | B C | | /| | C | E | | / D E | / E As you can see the stable trunk contains only the versions that have been qualified. I'm having problems replicating this workflow in Git as versions B, C and D are also pushed into the QA trunk and subsequently the stable trunk. In my

项目工程类的流程在ccflow中应用与设计说明书

倖福魔咒の 提交于 2019-12-01 09:22:16
说明: -------------------------------------- 1, Prj为项目工程所用的一些扩展应用,项目流程也可以称呼为工程流程,是为了建造一个跨期比较长的工程在每个环节上需要流程控制。 2, 项目流程权限控制比较特殊,比如一个人在a项目中是项目经理,在b项目中是工程师。这类的流程在节点权限控制时会遇到局限在本项目中流转。 3,一个项目会有资料树的概念,每一个有关项目的流程具有一些文档,这些文档会于项目关联。 4,项目流程ccflow在表单设计中有一个约定。每个节点表单中(流程表单除外)都必须有PrjNo,PrjName两个属性. 在流程设计时必须指明此流程为项目类型的流程。 环境搭建 ---------------------------------------- 1. D:\ccflow\ExpandingApplication\Prj\Prj 复制到 D:\ccflow\VisualFlow\ 中去. 2. 在ccflow webapplication 中引用 D:\ccflow\ExpandingApplication\Prj\Components\BP.PRJ\BP.PRJ.csproj 3. 在目录: D:\ccflow\VisualFlow\DataUser 下创建一个Prj.Data 目录. 这个目录将会放资料树。 D:\ccflow

如何使用驰骋工作流引擎的获取最新消息接口实现消息推送

独自空忆成欢 提交于 2019-12-01 09:20:16
如何使用驰骋工作流引擎的获取最新消息接口实现消息推送 关键字: 驰骋 工作 流程引擎, 消息推送 . 应用场景: 需要在手机的代办、抄送、在途、消息地方的Icon右下方显示出来,等待处理的消息个数。 实现方式: 调用 ccflow 的AIP. /// <summary> /// 获取最新的消息 /// </summary> /// <param name="dateLastTime">上次获取的时间</param> /// <param name="userNo"> 用户 编号</param> /// <returns>返回消息:返回两个列的数据源MsgType,Num.</returns> public DataTable Port_GetNewMsg(string dateLastTime, string userNo) { return BP.WF.Dev2Interface.Port_GetNewMsg(dateLastTime, userNo); } 复制代码 返回结果: 两个列 MsgType 消息类型,Num 消息数量. 实现步骤: 每次获取消息后,就要把获取消息的时间写入内存里,时间格式为yyyy-MM-dd HH:mm,下次就要把这个时间作为一个参数,传入接口, 系统 就会把 这个时间点以来到现在的消息数据量按照消息类型分组读取出来。之后让其显示在icon下面。

HUE备份已定义好的workflow

跟風遠走 提交于 2019-12-01 08:53:19
HUE备份已定义好的workflow 最近使用HUE定义了一个很复杂的调度,但是调度执行到一半就开始报错.... 这个可真让人头疼呀, 从头开始跑数据吧 太费时间了,而且会容易造成Hive库总数据冗余 在workflow将已经跑完的部分删掉吧 又舍不得,万一下次整个调度又都出错了 又要重新配置 多累呀 慢慢摸索后,发现原来使用 HUE定义的workflow是可以被copy的 ,开心!!! >>>错误信息 出错调度信息如下:(1,2,3成功,4开始报错及4以后的脚本信息都未被正常执行) >>>处理方案 1.登录HUE,点击下图红色标记位置,进入菜单栏 2.点击Documents 3. 看到我们定义好的workflow信息 4. 在需要复制的workflow那一行 右击鼠标(单击),选择下图标记的右上角位置,再点击 copy 5.选择了复制后,再重新进入Documents节点,则会看到复制的workflow啦 6.点击复制好的workflow,可以发现内容与原来的一模一样,这样子我们就可以直接删除已经执行成功了的配置了,调整出错脚本后接下来重新跑出错脚本及以后数据。(因为保留了最全的workflow.这个只是我们这次需要执行完的workflow. 下次也不用重新配置了) 处理结果:将已成功执行的脚本信息去掉,留下的剩下的三个未成功执行的脚本编辑为并行(确定脚本之间没有联系

Java: Difference between initializing by constructor and by static method?

試著忘記壹切 提交于 2019-12-01 06:36:32
This might just be a question of personal taste and workflow, but in case it's more than that, I feel I should ask anyway. In Java, what differences are there between creating an instance via constructor and via a static method (which returns the instance)? For example, take this bit of code from a project I'm working on (written up by hand at time of posting, so some shortcuts and liberties are taken): Plugin main; Map<int, int> map; public Handler(Plugin main) { this.main = main; } public static Handler init(Plugin main) { Handler handler = new Handler(main); handler.createMap(); } public

What is the most straight-forward method to deploy a new workflow definition in Alfresco Community 4.0.e?

南笙酒味 提交于 2019-12-01 04:42:09
I am having a hard time deploying a new workflow definition in Alfresco Community 4.0.e. Alfresco does not have any user interface for this in the Community Edition. I could not find any Alfresco add-on related to this either. I have had a look at a lot of pages discussing this, such as these: Difficulties in deploying my own workflow in alfresco workflow console Add new workflow into Alfresco share https://wiki.alfresco.com/wiki/Custom_Share_Workflow_UI http://wiki.alfresco.com/wiki/Workflow_Console http://wiki.alfresco.com/wiki/Dynamic_Models#Dynamic_workflow_process_definitions http://www

What is the most straight-forward method to deploy a new workflow definition in Alfresco Community 4.0.e?

主宰稳场 提交于 2019-12-01 02:20:42
问题 I am having a hard time deploying a new workflow definition in Alfresco Community 4.0.e. Alfresco does not have any user interface for this in the Community Edition. I could not find any Alfresco add-on related to this either. I have had a look at a lot of pages discussing this, such as these: Difficulties in deploying my own workflow in alfresco workflow console Add new workflow into Alfresco share https://wiki.alfresco.com/wiki/Custom_Share_Workflow_UI http://wiki.alfresco.com/wiki/Workflow

Is there a standard option workflow in F#?

时光总嘲笑我的痴心妄想 提交于 2019-12-01 02:08:39
Is there an option (maybe) wokflow (monad) in the standrd F# library? I've found a dozen of hand-made implementations ( 1 , 2 ) of this workflow, but I don't really want to introduce non-standard and not very trusted code into my project. And all imaginable queries to google and msdn gave me no clue where to find it. There's no Maybe monad in the standard F# library. You may want to look at FSharpx , a F# extension written by highly-qualified members of F# community, which has quite a number of useful monads. kvb There's no standard computation builder for options, but if you don't need things

CQ 5.6.1 getWorkflowSession cause Uncaught Throwable java.lang.NullPointerException

生来就可爱ヽ(ⅴ<●) 提交于 2019-12-01 02:01:53
at com.cuso.Mao.doGet(Mao.java:97) at org.apache.sling.api.servlets.SlingSafeMethodsServlet.mayService(SlingSafeMethodsServlet.java:268) at org.apache.sling.api.servlets.SlingSafeMethodsServlet.service(SlingSafeMethodsServlet.java:344) at org.apache.sling.api.servlets.SlingSafeMethodsServlet.service(SlingSafeMethodsServlet.java:375) at org.apache.sling.engine.impl.request.RequestData.service(RequestData.java:508) at org.apache.sling.engine.impl.filter.SlingComponentFilterChain.render(SlingComponentFilterChain.java:45) at org.apache.sling.engine.impl.filter.AbstractSlingFilterChain.doFilter

Sitecore Workflow Is Not Working

大憨熊 提交于 2019-12-01 00:36:26
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 could see all filled workflow fields based on its initial workflow setting. So, workflow process is