FAQ Database Discussion Community


Use code from repository that has no setup.py

python,reference,workflow,setup.py
Is there a best practice for how to use code from a python github repository that is missing its setup.py file? Since I cannot reference it through my own requirements.txt, may I just copy the code into one of my own files? Specifically, I want to use the function tile_raster_images(...)...

CRM 2013 Get CRM URL via Custom Workflow

c#,workflow,crm,dynamics-crm-2013
I have a requirement for getting a CRM URL via a custom workflow to use in the next step which is to send an email. The reason for this is to differentiate to users which server this email has come from (UAT/Live). I have been trying to use HTTPContext route...

Is it possible to use two “job.properties” file in a workflow oozie?

hadoop,workflow,oozie,properties-file
I need to use another file than the job.properties for my workflow. This file have the same structure than a properties file. I have a generator of result's path which create this file. The particularity of this one, is that it's change each time the workflow is launched (with new...

How to stop Eclipse / Scala IDE from uploading all my projects at once?

java,eclipse,git,scala,workflow
[EDIT]: I dont have a git console installed and therefore only use the git-plugin for eclipse. I have several projects in my Eclipse / Scala IDE like this: project 1 project 2 project 3 ... It can happen that I work on i.e. project 1 and do some changes. After...

How can we persist states and transitions in stateless4j based State Machine?

persistence,workflow,finite-state-machine,state-machine-workflow
I am working on implementing a state machine for a workflow management system based on the Stateless4j API. However, I am not able to find an effective way to persist the states and transitions in Stateless4j. As part of our usecases, we have the requirement to keep States alive for...

Access Alfresco Workflows I've started in JavaScript

javascript,workflow,task,alfresco,alfresco-share
I'm trying to create a report about the workflows (Adhoc task) that a person is/was involved in and I'm having trouble with accessing the workflows that the person has started and are currently in progress. I am using JavaScript API and using workflow Root Scope object. With this I can...

How do you use git in “solo-development” (without team)?

git,workflow,development-environment,git-flow
I work as a freelancer on small projects, and all of them I'm doing alone, without a team. I tried to use the Git Flow. At first, all was well. There were branches for features, small commits with meaningful description, merges. But the process always ends with enormously large commits...

jBPM - unable to pass ArrayList as parameter while starting process

java,workflow,jbpm
We are facing the following error while trying to start a jBPM workflow from Java. Exception in thread "main" org.kie.remote.client.api.exception.RemoteApiException: IllegalStateException thrown with message 'Could not unmarshall user-defined class instance parameter of type 'jaxbListWrapper'': java.lang.IllegalStateException: Could not unmarshall user-defined class instance parameter of type 'jaxbListWrapper' at org.kie.remote.services.cdi.ProcessRequestBean.verifyObjectHasBeenUnmarshalled(ProcessRequestBean.java:219) at...

Apache Spark app workflow

apache-spark,workflow
How do You organize the Spark development workflow? My way: Local hadoop/yarn service. Local spark service. Intellij on one screen Terminal with running sbt console After I change Spark app code, I switch to terminal and run "package" to compile to jar and "submitSpark" which is stb task that runs...

in node, using Q, make 2 functions work in parallel but wait only for the first one to fulfill its promise

javascript,node.js,workflow,promise,q
In my environment I use node +q (which I'm not a great expert of), so the main argument is: promises. I have a function that needs to make 2 operations in parallel, a very long one and a very short one. var parallelWrapper = function(input) { var deferred = Q.defer();...

workflow window foundation =()=>

c#,workflow
What does = () => mean in c#? I've used lambda's before but those empty parens () are throwing me off. Familiar with this: customers.Find(x=>x.FirstName=="John") Article resource ...

How to Invoke K2 workflow from MVC

asp.net-mvc-4,workflow,k2
All Just wondering if by any chance can we invoke K2 workflow from controller? I have a UI developed in MVC and need to implement some workflow... Is there any way we can achieve this ? Are there any K2 APIs ? we can call directly from controller ? Any...

Business Workflow Process Management

content-management-system,workflow,orchardcms
I want to create a Business Workflow Management System for managing issues. The system should allow managers to define workflows. A workflow consists of multiple departments linked in order. Then an issue can be opened, the issue has a workflow assigned so basically when a department reviews the issue and...

Why does the Linux kernel repository have only one branch? [closed]

linux,git,linux-kernel,workflow
I'm a Linux beginner, so forgive me if this is the most obvious question you've ever heard. https://github.com/torvalds/linux/branches/all...

Running Powershell Workflow from C#

c#,powershell,workflow,powershell-workflow
I'm trying to run this code: using (PowerShell PowerShellInstance = PowerShell.Create()) { _outputCollection.DataAdded += outputCollection_DataAdded; PowerShellInstance.AddScript(@"workflow test { Write-Warning 'this is a warning'; }; test"); IAsyncResult result = PowerShellInstance.BeginInvoke<PSObject, PSObject>(null, _outputCollection); } But I get this error: Windows PowerShell Workflow is not supported in a Windows PowerShe ll x86-based console....

Change the file name Alfresco

workflow,filenames,alfresco,business-process
I need to change the name of the file attached to the workflow and move to another location during the execution. The file name is generated based on the information entered in the form of process (Registration Number field and Sender). How can this be implemented? Thanks! For example: BX-2/Nick_Berry.xls...

My project uses over 100 git submodules, which submodule alternative can handle a lot of repositories gracefully

git,dependencies,repository,workflow,git-submodules
I've been researching git subtree and other alternatives to git submodules. My project has well over 100 submodules and it's very unwieldy to manage them all. Can anyone recommend a workflow that works really well with a large number of repositories that need to be kept in sync....

Git centralized workflow

git,workflow,centralized
Suppose developers are using git centralized workflow and github has 2 files a.txt and b.txt. Now dev1 pushes c.txt successfully. Now if dev2 pushes d.txt, it's non fast-forward and he can't push and RIGHTLY SO, because he must first merge changes of dev1 locally and then push. Now another scenario,...

Powershell workflow - Get-Service not filtering

powershell,workflow
I am trying to restart Windows services in parallel via Powershell workflow. When I use Get-Service -DisplayName "S*" outside of workflow I get expected results. However, when I use the same in workflow, I get ALL services instead. It seems that -Displayname parameter is ignored in workflow. How do I...

How to track Django model changes with git?

python,sql,django,git,workflow
Suppose you write a Django website and use git to manage the source code. Your website has various instances (one for each developer, at least). When you perform a change on the model in a commit, everybody needs to update its own database. In some cases it is enough to...

WF4.0: Workflow designer for a Custom Code Activity - Is MVVM a good idea?

workflow,workflow-foundation-4,workflow-activity
By default ActivityDesigner set its DataContext to "this" (the ActivityDesigner itself). The ModelItem type and is available through the ModelItem property and represents the Activity you are doing a designer for. Would it be a good idea to use MVVM for ActivityDesigner ? I don't think so but I couldn't...

Project server WorkFlow, permission issues

sharepoint,workflow,project-server
I am developing a workflow using Project Server 2013 and sharepoint designer. Everything works fine until I try to set the value of a project field. When I do I get a 401 error (before I'd got a 403 error but solved it granting elevated permissions). I've tried everything (or...

How to ignore events in LabView triggered outside of a particular sequence frame?

events,event-handling,workflow,labview
Using event structures in LabView can get confusing, especially when mixing them with a mostly synchronous workflow. My question is, when an event structure exists in one frame of a sequence, how can I force it to ignore events (e.g. mousedown on a particular button) that were triggered while the...

How do you process a Gitlab merge request?

git,merge,workflow,gitlab
I'm working with a small group of people on a project, using Gitlab. As not everyone is equally experienced (with both project development and git itself), we figured we would require merge requests to be sent before code could be merged into the main development branch. So far so good,...

Managing remote sass workflow

sass,workflow
I'm kind of just getting started with PHP development and using Sass for my css in building a site. I downloaded MAMP and built out the site on my local machine, so the PHP worked great, and the sass was automatically compiled locally for me. Now usually when I have...

how to set a variable in startevent in alfresco?

workflow,alfresco,activiti
I want to get the property value mcwf:status from the model in startevent. Then I need to pass the value of mcwf:status to other forms. Below is the code, it is not printing variable, it seems that the part of extensionElement has not been run? The snippet of the bpmn...

How to make Bonita BPM to show an error?

workflow,bpmn,business-process,bonita
I have an assignment where before I get a message from a server and tweet it, I have to check if an error occurs. If it does, it says that I have to "show with a human task an error message specifying a number and the error received. After that,...

Alfresco : How to filter documents in workflow

java,workflow,alfresco,alfresco-share
I have a special need in Alfresco, I'm unfortunately new in using this product. Actually My intention is to show, in the workflow, only documents whose the coordinator is the logged on user and which are not in active workflows. Any idea please :)...

Can’t get my (specific) Git workflow to work

git,workflow
I have a quite specific need, and I can’t get it to work, hence I turn to you, Git and Stack Overflow friends. I have a server my live site runs on. I wish to update the site using Git. To avoid live testing, I wish to set up a...

noob about css preprocessors workflow - how does it really work?

css,sass,workflow,preprocessor
So, this a very noob question about pre processors. I am a developer and I am trying to understand one thing... how does the css pre processor fit into the day to day design/development workflow? Without it it was something simple like saving the css file and refresh the page....

Is there a way to easily start and manage an android project and it's dependancies?

android,dependencies,workflow
I am looking for an easy and somewhat automated way of starting and managing an Android project. I have been working on a few projects here and there and have found that a good amount of the time dependencies are a pain point. I am currently using Eclipse and looking...

The right way to create a reminder workflow at suitecrm?

php,workflow,crm,sugarcrm,suitecrm
I am trying to create a reminder workflow at suitecrm. The reminder workflow should send a warning email to my email address if my "ticket module" (a module i built using module builder)'s "status" field stays pending for two days I followed the link (here) exactly like it says. My...

Can't set workflow and workflow state properties on sitecore items

powershell,workflow,sitecore,sitecore7.2
I am currently working on a project that requires me to set up a very simple sitecore workflow. I am running into some difficulties when modifying the existing items to use my new workflow. This is what i did: The workflow creates a new version when a contentmanager starts editing...

SharePoint JavaScript API for Workflow throws an error

javascript,sharepoint,workflow
I am trying to access information about running workflows in a SharePoint list but I am running into problems with the workflow services JSOM library. I am using the workflow services just like every example I can find, see code below: var context = SP.ClientContext.get_current(); var web = context.get_web(); var...

Alfresco: send workflow form data to custom datalist

workflow,alfresco,datalist
I have an advanced workflow setup that starts with a form. My goal is to have the form's data sent to my custom datalist, but I have no idea how to go about this, and other questions on this site didn't help. Specific questions: Is this possible? If so, what's...

Delete SharePoint items after 90 days. Workflow or OOTB solution?

sharepoint,delete,workflow
I need to delete all the items from a library after 90 days. I can easily achieve this by adding a workflow. However are there other Out of the Box option that I can use to achieve this?

cannot modify .csproj files using build auto with tfs 13

build,workflow,tfsbuild,tfs2013,workflow-activity
I created a workflow activity named EditCsproj which is a C# class that I added to my build template. I put it right after the Initialize Workspace step. This workflow has to get all .csproj files in the directory path that I provide as a parameter and it has to...

viewflow.io: What is the recommended pattern to go a step back in a flow?

python,django,workflow
With the ViewFlow library (see http://viewflow.io/), I'm looking at the following use case: While stepping through a Flow, what is the recommended pattern to step back? Right now I only found out how to step forward (which is the default behaviour). But what about the usecase were I want to...

JIRA: How a Subtask can Create a Subtask

workflow,jira,parent,atlassian,jql
Core Question I know how to automatically create subtasks when the Parent Status changes, But How do I automatically create subtasks when another subtask closes (Without changing the parent status)? Note: I'm currently using a combination of the Script Runner and the MISC JIRA Workflow plugins....

Mac Automater: from a string, get a file

service,applescript,workflow,automator,finder
I'm trying to make a shortcut via an automater service that will move the selected file(s) up a directory. It goes as follows: Get Selected Finder Items Get Value of Variable Path Run Applescript: on join(someList, delimiter) set prevTIDs to AppleScript's text item delimiters set AppleScript's text item delimiters to...

Do Yo and Bower overlap in terms of functionality, and if they do is there an advantage to using both?

gruntjs,workflow,gulp,yeoman,bower
I have been using Gulp for a while now and recently started using Bower. I am now looking into whether I should also be using Yo for scaffolding, but I'm not clear on the exact purpose of Yo. I'm confused because when Yo creates an app it seems to install...

How to create a django ViewFlow process programmatically

python,django,workflow
Synopsis I'm developing a web application to learn Django (python 3.4 & Django 1.6.10). The web app has complex and often updated workflows. I decided to integrate the Django-Viewflow library (https://github.com/viewflow/viewflow/) as it seems to be a very convenient way to handle workflows and not incorporate the workflow logic with...

Customizable workflow/ State machine

java,workflow
I am trying to build a customizable workflow or kind of state transition which user should be able to update through UI. Basically it should have all the states and user should be able to choose the transition from one state to another and also hook any predefined action to...

Git - Change “origin commit” of a branch

git,workflow,commit,revert
I have some difficult to found a Git generic worflow to remove some commits (between 2 refs) from a branch ; here is a little example : My current state are like this : * a878646 (develop) C8a * 070acb7 C7a | * 7937ce7 (HEAD, F1) C9b | * fb4add2...

Bulk Update wordpress core & its plugins locally

wordpress,workflow,updates,core,bulk
I am many wordpress sites developed locally. Once the site is finished, I upload to remote. Now the problem is that there are too many sites and its plugins that needs to be updated. It has been time consuming and error prone to update those sites and plugins one by...

Development Workflow - Bootstrap (Less), Bower and Grunt

twitter-bootstrap,gruntjs,less,workflow,bower
I am trying to step up my game as far as my folder structure and workflow is considered. I have recently discovered that front end package management and automation of tasks are key to improve speed, decreasing dev time, decrease file size and increase profit. My issue is I am...

Docker for a one shot CLI application

linux,security,docker,workflow,bioinformatics
Since I first knew of Docker, I thought it might be the solution for several problems we are usually facing at the lab. I work as a Data Analyst for a small Biology research group. I am using Snakemake for defining the -usually big and quite complex- workflows for our...

Working with npm packages

npm,workflow,gulp
I wonder how you work with the npm as a package manager in a project? My project uses the following file structure: . |_ site/ | |_ bower_components/ | |_ index.html | |_ assets/ | |_ js/ | |_ scripts.js | |_ dist/ |_ node_modules/ | |_ underscore | |_...

Can't make my activity appear in the toolbar (WWF)

workflow,foundation
I'm using Windows Workflow Fundation and I can not make my new activity appear in the toolbox in order to use it in my workflow.