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

Initial SQL use case guide #49

Conversation

ssrinivas-moveworks
Copy link
Contributor

No description provided.

---
id: 8
name: Filter Records by Name
description: Users can query multiple using named slots and ids
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Let's maintain the same tense as other design patterns.

Example: "Take an action on a business object, referencing the ID of the object."


# What does this pattern do?

Convert names provided by users into API IDs before filtering a table to relevant rows. You can visualize this as a filter applied on a table like below:
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You mention a table here, but no table image is included.

Comment on lines +24 to +28
## Design time
1. Must return non-200 status code if records are not found
2. Must provide a list of sample aliases for common names to Moveworks customer support.
3. Must return a JSON dictionary from the API. (No embedded lists)
4. Must display a single record of attributes & values. Multiple records, or related records are not supported in this design pattern.
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

See the other design pattern guides in this repo. Design Time should provide instructions on how to build these in Creator Studio.

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Definitely needs to call out the slot alias handling process.

@ajaymerchia ajaymerchia closed this Jan 9, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants