Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

@W-17649725 Removing nonFlowOnly from the context of TIMENOW and TIMEVALUE #150

Merged
merged 2 commits into from
Jan 29, 2025

Conversation

akshay-krishnan-flow
Copy link
Contributor

@akshay-krishnan-flow akshay-krishnan-flow commented Jan 23, 2025

@W-17649725 This PR contains the changes done on the Formula Engine side to add Time data type support to the Formula Builder of Flow Builder. FunctionTimeValue and FunctionTimeNow are two formula functions which perform Time related operations. These two functions currently have the nonFlowOnly property in their context set to true and the removal of this property is essential for Flow Builder to be able consume these two formulas.

Copy link

Thanks for the contribution! It looks like @akshay-krishnan-flow is an internal user so signing the CLA is not required. However, we need to confirm this.

@akshay-krishnan-flow
Copy link
Contributor Author

The FTest testcase which involves a formula syntax check of the TIMENOW() and TIMEVALUE() operations introduced as part of this PR https://gitcore.soma.salesforce.com/core-2206/core-public/pull/75721 is failing right now because the nonFlowOnly property is set to true for both those formula functions. Upon removing them and rerunning the test on local, they are successful
FTestSuccessfulAfterFormulaBuilderRepoChanges

@bairenlong-sfdc bairenlong-sfdc self-requested a review January 23, 2025 17:44
@bairenlong-sfdc
Copy link
Collaborator

@akshay-krishnan-flow "nonFlowOnly" is owned & used by feature teams, your changes looks good from the formula engine aspect. Please consult with the "IoT Haleakala" team as they also use "nonFlowOnly".

@bairenlong-sfdc
Copy link
Collaborator

bairenlong-sfdc commented Jan 27, 2025

Thanks for the contribution! It looks like @akshay-krishnan-flow is an internal user so signing the CLA is not required. However, we need to confirm this.

@akshay-krishnan-flow, can you drop a message here confirming you are an internal developer? (standard procedure). I manually added "cla:signed" label here.

@akshay-krishnan-flow
Copy link
Contributor Author

Thanks for the contribution! It looks like @akshay-krishnan-flow is an internal user so signing the CLA is not required. However, we need to confirm this.

@akshay-krishnan-flow, can you drop a message here confirming you are an internal developer? (standard procedure). I manually added "cla:signed" label here.

@bairenlong-sfdc I confirm that I am an internal developer.

@akshay-krishnan-flow akshay-krishnan-flow changed the title @W-17604573 Formula Builder changes for Time data type support - Formula-Engine changes @W-17649725 Removing nonFlowOnly from the context of TIMENOW and TIMEVALUE Jan 27, 2025
@jonathonmar jonathonmar merged commit f321542 into salesforce:main Jan 29, 2025
2 checks passed
@bairenlong-sfdc
Copy link
Collaborator

@jonathonmar I was waiting for confirmation from the IOT team for "nonFlowOnly" related changes. @akshay-krishnan-flow I will deploy your changes to core but you still need to confirm your changes with IOT team.

@akshay-krishnan-flow
Copy link
Contributor Author

@jonathonmar I was waiting for confirmation from the IOT team for "nonFlowOnly" related changes. @akshay-krishnan-flow I will deploy your changes to core but you still need to confirm your changes with IOT team.

@bairenlong-sfdc I got the confirmation from the IoT team. I just updated our discussion thread on Slack with the link to the confirmation.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants