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
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.

Microsoft Build 768x460.png

Microsoft Build is May 24-26. Have you registered yet?

Come together to explore latest innovations in code and application development—and gain insights from experts from around the world.

May UG Leader Call Carousel 768x460.png

What difference can a User Group make for you?

At the monthly call, connect with other leaders and find out how community makes your experience even better.

Top Solution Authors
Top Kudoed Authors
Users online (2,470)