workflow

ccflow向流程开始节点表单传输数据方法大全,欢迎使用开源的asp.net 工作流程引擎.

跟風遠走 提交于 2019-11-29 03:17:08
http://ccflow.org 欢迎使用开源的asp.net 工作流程引擎. 在启动开始节点时,通常会向其发起点 ( 流程的第一个点 ) 传输一序列值,来减少用户的输入或者处理特定业务。下面把这些特定的方法总结汇总如下。 利用 url 传输数据给表单: 事例: MyFlow.aspx?FK_Flow=001&FK_Node=101&PrjNo=GB1002&PrjName= 项目名称 . 解释:利用 Url 的方式传递值, Key 就是表单的字段名,如果一致 ccform 就是自动获取它们把值放入表单控件里。 这种方式适用于数据量比较少,没有明细表的值。 把指定物理表的一列值传递给表单: 事例: MyFlow.aspx?FK_Flow=001&FK_Node=101&FromTableName=Prj_Main&FromTablePK=No&FromTablePKVal=GB1001 解释:利用特定的标记传递 table 名称,这个 table 的主键列名称,指定的行数据。 系统就会自动的生成一个 sql 查询到这个行数据。 Select * from FromTableName where FromTablePK =’ FromTablePKVal’. 如果查询不到数据,就会抛异常。 查询到数据就会把这一行的数据根据列名与表单属性名称相对应的 copy 上去。

解析 ccflow 节点属性之焦点字段使用方式与应用场景。

被刻印的时光 ゝ 提交于 2019-11-29 03:15:56
应用场景: 如下流程图是一个典型的对附件的审批流程,起草人发起一个标准文件,经过各部门审批,意见征集(分合流),各部门汇签(分合流)。 在工作日志中,用户希望看到日志记录每次审批意见,如果有多次退回,多次审批意见,个是什么。如下图: 如何让 ccflow 要知道记录表单的那个字段,这个字段可能是审批意见也可能是备注。如果您不设置它, ccflow 就记录不上。 解释说明: 节点属性中的焦点字段是用来处理记录一个表单中重要的字段,比如:一个审批表单中的审批处理意见字段,对这个表单来说他非常重要,在流程中我要记录这个字段作为此节点的审核信息。 并非所有的节点都要设置焦点字段。 如下功能中用到焦点字段,工作日志、转发、退回。 在工作日志中应用: 如果您为此节点设置了焦点字段,系统在日志记录时,就会记录到日志中去。如果没有则不记录,如果对一个审批流程来说,记录每个节点的审批意见记录工作日志非常中要。 在转发中应用: 如果设置了焦点字段,用户就可以在当前表单上在这个字段上填写意见,按下转发按钮后这个字段的数据就会被带到转发功能界面里去,符合操作习惯。 在退回中应用: 同上。 来源: oschina 链接: https://my.oschina.net/u/10897/blog/34921

launching a spark program using oozie workflow

安稳与你 提交于 2019-11-29 02:29:28
I am working with a scala program using spark packages. Currently I run the program using the bash command from the gateway: /homes/spark/bin/spark-submit --master yarn-cluster --class "com.xxx.yyy.zzz" --driver-java-options "-Dyyy.num=5" a.jar arg1 arg2 I would like to start using oozie for running this job. I have a few setbacks: Where should I put the spark-submit executable? on the hfs? How do I define the spark action? where should the --driver-java-options appear? How should the oozie action look like? is it similar to the one appearing here ? If you have a new enough version of oozie

How to track execution time of each line / block of lines / methods in PHP?

淺唱寂寞╮ 提交于 2019-11-29 02:28:10
Is there a best practice (IDE-based?), a PHP/bash script or something else to get the execution time of a line get the execution time of a block of lines (for example line 17 to 42) get the execution time of a certain function or method in PHP ? I'm currently stuck with self-built solutions that use microtime() , but that's a dirty, unhandy and slow method to do so. I'm especially interested in solutions with the major PHP IDEs like Eclipse, Netbeans, PHPStorm and VIM. A perfect solution would be a tool that tracks an entire application and provides execution time tracking for each line, each

Source maps with grunt

杀马特。学长 韩版系。学妹 提交于 2019-11-29 02:21:48
Do you know of a workflow that includes source maps for an app compiled with grunt? I am well aware of plugins like uglifyjs that allow you to simply generate a source map. But I'm looking for incorporating this into a more complex workflow, rather than just making a one-off source map. I've noticed that the most popular Yeoman generators (that I know of) are missing source maps in their workflows. Is this just because of a lack of support in the major plugins for source maps? Or is it instead that source maps aren't necessary in work flows, and I just can't think of a clever enough

hue oozie再踩坑,workflow,coordinator终于都可以跑了

安稳与你 提交于 2019-11-29 00:53:31
前边总结 了些hue下sqoop1,oozie,hbase的一些坑,今日项目到期,一定要搞定oozie工作流和定时调度执行,以是skr skr skr .... 1.前边 的sqoop mysql 导入出的坑已都踩过了,后来发现除了cdh(5.15)没有自动配置好sqoop1之外也无关紧要,手动配置后,按装sharelib后在拷些不全的包(如 sqoop,hbase,mysql,oozie等),基本是也可以在hue里跑的(hue 用oozie跑sqoop ,python写的xml 转义bug不能带引号之类),开始一直找不到驱动,后边按网上OOZIE 下各lib libext libtools 和其它sqoop lib的目录下加了mysql驱动后依然不行,后来改了下hdfs 下的 core-site.xml 的代理用户后就好了: <property><name>hadoop.proxyuser.hue.hosts</name><value>*</value></property> <property><name>hadoop.proxyuser.hue.groups</name><value>*</value></property> <property><name>hadoop.proxyuser.oozie.hosts</name><value>*</value><

UTF8 workflow PHP, MySQL summarized [closed]

拟墨画扇 提交于 2019-11-28 23:23:10
问题 I am working for international clients who have all very different alphabets and so I am trying to finally get an overview of a complete workflow between PHP and MySQL that would ensure all character encodings to be inserted correctly. I have read a bunch of tutorials on this but still have questions(there is much to learn) and thought I might just put it all together here and ask. PHP header('Content-Type:text/html; charset=UTF-8'); mb_internal_encoding('UTF-8'); HTML <meta http-equiv=

Exiting Python Debugger ipdb

白昼怎懂夜的黑 提交于 2019-11-28 22:13:48
问题 I use ipdb fairly often in a way to just jump to a piece of code that is isolated i.e. it is hard to write a real script that uses it. Instead I write a minimal test case with mocking and jump into it. Exemplary for the workflow: def func(): ... import ipdb ipdb.set_trace() ... def test_case(): ... func() ... Then, invoke py.test test_file.py -s -k test_case Now, usually I just check one variable or two, and then want to quit. Change the code and do it over again. How do I quit? The manual

git workflow: Can I prevent a certain file from being merged to another branch but still keep it under version control?

此生再无相见时 提交于 2019-11-28 21:02:54
问题 I have a repository with two branches: live and stage. The repository holds code for a web based application. I would like to maintain two different .htaccess files for the stage and live branches, but still keep them version controlled, since the nature of serving a stage site is a little bit different (right now for instance, I want the caches to be timed differently). I'm a novice with git so there is probably an easy explanation, but I'd like to have a workflow where when I was in live

SharePoint Workflow: how to update the item without triggering the workflow again

流过昼夜 提交于 2019-11-28 20:48:53
I have a SharePoint workflow which is running whenever the item changes . The workflow communicates with an external REST service. If the service returns a string, I want to update one of the field values with that string. Unfortunately, this update will trigger another instance of the workflow for this item once the current workflow terminates. I end up with an infinite loop! How I can prevent this from happening? SPListItem has Update(), UpdateOverwriteVersion(), and SystemUpdate() methods but none of them seem to prevent subsequent workflows from being triggered. I could inspect the last