cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
stapes
Post Prodigy
Post Prodigy

Flow does not run. I think it is rejecting a string because it contains a number.

I am having trouble getting this flow to run:

 

ClearCollect(
    colDbResults,
    IPL_GI_AddBlobStorageRecord.Run(
        locID,
        gblSentBlob.Id,
        locComment,
        gblSentBlob.DisplayName
    )
);
If(
    CountRows(colDbResults) < 1,
    Notify(
        "No response from Flow.",
        NotificationType.Error
    ),

 

In my flow I have initialized the variable:

stCode.PNG

It has to be a string variable because most of these stock codes are strings. However, some of them are numbers. In this case 66.

There is no run history, and my collection colDbResults is returned empty.

How can I get this to work?

1 ACCEPTED SOLUTION

Accepted Solutions
stapes
Post Prodigy
Post Prodigy

I seem to have solved it using this Expression in my Variable Initializer: 

string(triggerBody()['varStCode_Value'])

 

View solution in original post

1 REPLY 1
stapes
Post Prodigy
Post Prodigy

I seem to have solved it using this Expression in my Variable Initializer: 

string(triggerBody()['varStCode_Value'])

 

View solution in original post

Helpful resources

Announcements
PA_User Group Leader_768x460.jpg

Manage your user group events

Check out the News & Announcements to learn more.

Power Query PA Forum 768x460.png

Check it out!

Did you know that you can visit the Power Query Forum in Power BI and now Power Apps

Carousel 2021 Release Wave 2 Plan 768x460.jpg

2021 Release Wave 2 Plan

Power Platform release plan for the 2021 release wave 2 describes all new features releasing from October 2021 through March 2022.

PowerPlatform 768x460.png

Microsoft Learn

Check out our new Discover Your Career Path blog post series and get all the details.

Users online (1,359)