I have made several versions of a Flow, starting simple and then building in complexity. The basic idea is to post to Yammer when someone adds a document to a Library.
The latest Flow is actually IDENTICAL to the previous one, which worked fine, but this one hasn't worked once.
The problem is that Flow thinks it works: I always get a "Your flow ran successfully" message. But it's not once posted to Yammer.
I dont see how I can debug something when the app itself thinks it's working fine.
Is this just a general reliability problem? Will my Flow start working tomorrow, and then stop the following day?
Can you post screenshots of your flow so that we can have a look and identify anything obvious that's a problem.
Rob
Los Gallardos
@Anonymous :
As suggested by @RobElliott , seeing a screen shot of the Flow would b helpful. In addition, posting a screen shot of a run that did not produce the expected results would be very helpful as well.
Thabks for your quick response.
This is the test result from the latest Flow. I can assure you that it posted nothing to yammer.
This is the Flow itself:
And this is the result of the previous version of the flow, which worked fine:
@Anonymous
I do understand that nothing posted to Yammer, but could you post a complete screen shot of the run that produced that result to include what happened inside of the Apply to Each actions?
Hi @Anonymous ,
From the screenshot of yours, the configuration of Flow is no problem, the problem should be concentrated in Apply to each or Apply to each 2.
You could check your Flow run history, and there may be cases where the actions in Apply to each or Apply to each 2 are not executed at all.
If the values of the ToolBox DocType and ToolBox Topics fields are empty, the actions in Apply to each will not be executed.
For example, ToolBox DocType is a Managed Metadata field, and allow multiple values. If you do not set the value of this field when adding a new file, then the action in Apply to each will not be executed. Apply to each 2 is similar.
So please make sure that these two fields are not empty each time you add a new file.
In addition, you could consider the following method, there may be a delay when setting the field value after the file is added, so you could delay the execution of other actions, and use Get file properties to get the field value:
Please take a try again.
Best Regards,
Hey v-bacao-msft,
Yes and no. You're right that the flow didn't trigger when the new file doens't have metadata: I checked by simply copying a file that did, and it appeared on yammer. So thanks for that.
So you're also right that addign a delay should do the trick. Unfortunately it didn't. After I added a 30 minute delay to my Flow, I:
An hour later, still no post.
I tried using Get File Properties, but don't see why? I already have the file's metadata. I wish I could understand what GFP is for, but the docunentation is woeful - worst ever.