numerous-parrot-82549
07/31/2023, 5:55 PMearly-train-33247
07/31/2023, 7:40 PMnumerous-parrot-82549
07/31/2023, 7:41 PMearly-train-33247
07/31/2023, 7:45 PMhttps://cdn.discordapp.com/attachments/1135631937868939386/1135659500855103709/image.png▾
early-train-33247
07/31/2023, 7:45 PMearly-train-33247
07/31/2023, 7:48 PMhttps://cdn.discordapp.com/attachments/1135631937868939386/1135660294455185539/image.png▾
early-train-33247
07/31/2023, 7:50 PMjs
workflow.userOptions = workflow.foundUsers.map((user) => {
return { label: user.Name, value: user.id }
})
numerous-parrot-82549
07/31/2023, 7:51 PMnumerous-parrot-82549
07/31/2023, 7:53 PMnumerous-parrot-82549
07/31/2023, 7:53 PMnumerous-parrot-82549
07/31/2023, 7:53 PM@clients_list .map((item) => item.name);
early-train-33247
07/31/2023, 7:53 PMnumerous-parrot-82549
07/31/2023, 7:54 PMnumerous-parrot-82549
07/31/2023, 7:54 PMnumerous-parrot-82549
07/31/2023, 7:54 PMnumerous-parrot-82549
07/31/2023, 7:54 PMnumerous-parrot-82549
07/31/2023, 7:55 PMearly-train-33247
07/31/2023, 7:56 PMnumerous-parrot-82549
07/31/2023, 7:58 PMearly-train-33247
07/31/2023, 7:58 PMdesiredUserId
number variable and use the userOptions
variable in the Items section
https://cdn.discordapp.com/attachments/1135631937868939386/1135662896974680236/image.png▾
numerous-parrot-82549
07/31/2023, 7:59 PMnumerous-parrot-82549
07/31/2023, 7:59 PMearly-train-33247
07/31/2023, 7:59 PMearly-train-33247
07/31/2023, 8:02 PMdesiredUserDetails
7th - add a Get Record card that uses the desiredUserId
variable to find the record, and saved the result to the desiredUserDetails
variable
https://cdn.discordapp.com/attachments/1135631937868939386/1135663781582745751/image.png▾
early-train-33247
07/31/2023, 8:07 PMhttps://cdn.discordapp.com/attachments/1135631937868939386/1135665097767931945/image.png▾
early-train-33247
07/31/2023, 8:08 PMluxon.DateTime.fromISO(workflow.userDetails.createdAt).toLocaleString()
* It's not good UX to show the user a list with more than 3 options (generally speaking), so try to cut them down!