cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
stapes
Impactful Individual
Impactful Individual

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
Impactful Individual
Impactful Individual

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
Impactful Individual
Impactful Individual

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

string(triggerBody()['varStCode_Value'])

 

Helpful resources

Announcements
Power Platform Conf 2022 768x460.jpg

Join us for Microsoft Power Platform Conference

The first Microsoft-sponsored Power Platform Conference is coming in September. 100+ speakers, 150+ sessions, and what's new and next for Power Platform.

Power Platform Call June 2022 768x460.png

Power Platform Community Call

Join us for the next call on June 15, 2022 at 8am PDT.

PA Virtual Workshop Carousel 768x460.png

Register for a Free Workshop

This training provides practical hands-on experience in creating Power Apps solutions in a full-day of instructor-led App creation workshop.

PA.JPG

New Release Planning Portal (Preview)

Check out our new release planning portal, an interactive way to plan and prepare for upcoming features in Power Platform.

Top Solution Authors
Top Kudoed Authors
Users online (3,599)