Questions tagged [sequential-workflow]

22 questions
2
votes
2 answers

sequential execution chaining of async operations in F#

Is there any primitive in the langage to compose async1 then async2, akin to what parallel does for parallel execution planning ? to further clarify, I have 2 async computations let toto1 = Async.Sleep(1000) let toto2 = Async.Sleep(1000) I…
nicolas
  • 9,549
  • 3
  • 39
  • 83
1
vote
1 answer

How to send all approvals in one email in Microsoft Flow?

I'm sending approvals via email in a Microsoft Flow. And I need to solve a task: how to send more than one approval all in one email (daily). Does anyone know how to do that?
1
vote
1 answer

WF 3.5 stateful activities

I'm using WF 3.5 and looking for a way to develop an activity preserving its state among different iterations of the standard WF "while" activity. The problem is that normally the Execute() method of an activity should return the "Closed" execution…
0
votes
2 answers

"System.Workflow.Runtime.Hosting.PersistenceException" Custom SharePoint Sequential workflow

I am getting following error in sharepoint Logs for my SharePoint Visual Studio Sequential workflow having a custom activity. The custom activity is created through Component Class. I am not sure why this error is coming? Please…
0
votes
0 answers

How to sequentially execute functions in React?

I am trying to upload images to firebase storage and then when uploads finish, execute a try/catch block of codes with addDoc() command to create a doc inside fb database. The sample coding is as follows: const abc = () => { array.map(() => { …
JeremyFc
  • 53
  • 5
0
votes
0 answers

Run Multiple Python scripts one after the other ensuring one program starts only after the previous execution is complete

I have a Python Script (which runs for about 6 days and generates multiple other files and folders). I have multiple data-sets and need to run this Python Script on each data-set. The data-sets have their similar names and are in completely separate…
0
votes
1 answer

Jenkins Pipeline - how to execute sequential sub-jobs and propagate the error while keeping the sequence

I am trying to have a pipeline that executes multiple sequential jobs. The problem is that if I have the "propagate false" flag, the jobs are executed but the pipeline build always returns 'Success' regardless the sub-jobs status. If I want the…
koxta
  • 846
  • 2
  • 8
  • 30
0
votes
1 answer

RabbitMQ with many small queues to enforce sequential execution (pattern or anti-pattern)?

Hypothetical (but simpler) scenario: I have many orders in my system. I have external triggers that affect those orders (e.g. webhooks). They may occur in parallel, and are handled by different instances in my cluster. In the scope of a single…
Philipp Sumi
  • 917
  • 8
  • 20
0
votes
1 answer

Design pattern to execute multiple sequential functions as a unit of work and support rollbacks

I have a complicated review application submission process that does several steps. ReviewService.CreateReview() CheckReservedTimeslotIsAvailable ProcessPayment CreateMeeting InsertReview UpdateFinancialJournal FinalizeDocuments Notify All these…
Manas
  • 23
  • 4
0
votes
1 answer

How to force sequential execution of tasks in a separate instances in Activiti workflows

I want to find a way to execute the script tasks of the separate instances of the same workflow sequentially. In my case multiple workflow instances are being started on one resource in parallel by a script task basing on some attributes of the…
0
votes
1 answer

Making steps in a for loop sequential when using Python and Selenium

I'm trying to loop through a list of links on a webpage, clicking on each using selenium, then copying a tinylink from each page before finally returning to the master list page. So far it will access the page, but I'm struggling to get the…
0
votes
2 answers

How to configure kafka such that we have an option to read from the earliest, latest and also from any given offset?

I know about configuring kafka to read from earliest or latest message. How do we include an additional option in case I need to read from a previous offset? The reason I need to do this is that the earlier messages which were read need to be…
0
votes
1 answer

Is there a way to inspect Sequential Workflow in Windows Workflow?

A state machine workflow has the StateMachineWorkflowInstance class that you can use to inspect the current state of the workflow, get legal transitions, etc... Is there something like that for sequential workflows? I would like to have an easy way…
tstojecki
  • 1,480
  • 2
  • 19
  • 29
0
votes
1 answer

Windows Workflow not terminating after Transaction Failure

I am bit new to Windows Workflow foundation so it might be a very straight forward, but I am stuck with it. I've a very simple sequential workflow and there are couple of code activities that are inside a Transaction Scope Activity. I am running my…
0
votes
0 answers

SharePoint Sequential Approval Workflow is working fine in debugging stage but getting an error when deployed

I have developed a sequential approval workflow, which is working fine while I am debugging it. But once I deploy the workflow and start testing it again, I get inconsistent results. Some times it works fine and other times, I get the below error -…
1
2