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'])

 

Helpful resources

Announcements
2022 Release Wave 1 760x460.png

2022 Release Wave 1 Plan

Power Platform release plan for the 2022 release wave 1 describes all new features releasing from April 2022 through September 2022.

Community Connections 768x460.jpg

Community & How To Videos

Check out the new Power Platform Community Connections gallery!

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