Teams/Shifts and flows for approvals. Limiting the flow to pending status only.

%3CLINGO-SUB%20id%3D%22lingo-sub-1359239%22%20slang%3D%22en-US%22%3ETeams%2FShifts%20and%20flows%20for%20approvals.%20Limiting%20the%20flow%20to%20pending%20status%20only.%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1359239%22%20slang%3D%22en-US%22%3E%3CP%3EHi%20there...%3C%2FP%3E%3CP%3EI%20have%20created%20a%20Team%20and%20a%20shift%20for%20a%20rostering%20system.%3C%2FP%3E%3CP%3EI%20have%20managed%20to%20create%20a%20flow%20which%20runs%20each%2010%20minutes%20and%20pulls%20the%20open%20shift%20offers%20in.%3C%2FP%3E%3CP%3EI%20then%20have%20an%20action%20to%20auto%20approve%2C%20using%20the%20ID%20from%20the%20initial%20pull.%3C%2FP%3E%3CP%3EThis%20works%20as%20expected%2C%20however%20the%20script%20seems%20to%20reexamine%20all%20the%20shift%20offers%20and%20returns%20errors%20for%20all%20except%20the%20newest%20ones%20(which%20it%20hasnt%20seen%20yet).%3C%2FP%3E%3CP%3EIs%20there%20a%20specific%20%22filter%22%20or%20similar%20or%20another%20way%20of%20using%20this%20action%20so%20that%20there%20isnt%20so%20much%20wasted%20screening%20going%20on%3F%3C%2FP%3E%3CP%3EThere%20is%20an%20%22apply%20to%20each%22%20module%20there%20which%20holds%20the%20approval%20action.%20Perhaps%20this%20is%20the%20point%20where%20the%20filter%20is%20applied%3F%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EThanks%3C%2FP%3E%3CP%3ETony%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-1359239%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3EBots%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3EFLOWS%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3EMicrosoft%20Teams%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3EShifts%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3ETips%20%26amp%3B%20Tricks%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E
New Contributor

Hi there...

I have created a Team and a shift for a rostering system.

I have managed to create a flow which runs each 10 minutes and pulls the open shift offers in.

I then have an action to auto approve, using the ID from the initial pull.

This works as expected, however the script seems to reexamine all the shift offers and returns errors for all except the newest ones (which it hasnt seen yet).

Is there a specific "filter" or similar or another way of using this action so that there isnt so much wasted screening going on?

There is an "apply to each" module there which holds the approval action. Perhaps this is the point where the filter is applied?

 

Thanks

Tony

0 Replies
www.000webhost.com