//this assumes the Form tab has a string field named "foo" and a checkbox named "bar"
import * as wmill from "npm:windmill-client@^1.158.2"
export async function main() {
// if no argument is passed, if user is logged in, it will use the user's username
const resumeUrls = await wmill.getResumeUrls("approver1")
// send the resumeUrls to the recipient or see Prompt section above
return {
default_args: {
foo: "foo",
bar: true
}
}
}
Submitted by henri186 282 days ago