dojo-bench-mini / tasks /salesforce /create-new-case.json
alexfung-cl's picture
Sync tasks, rewards to main
35fff71 verified
{
"spa": "salesforce",
"id": "create-new-case",
"name": "Create New Case",
"description": "Create a new case by filling out the form and saving it",
"tier": "free",
"environment": "{\"type\": \"url\",\"path\": \"https://d3kdnuhzu5eds7.cloudfront.net/index.html\"}",
"initial_state": "{\"tabs\": [{\"id\": \"home-dashboard\", \"type\": \"home-dashboard\"}], \"activeTabId\": \"home-dashboard\", \"leads\": [], \"contacts\": [], \"opportunities\": [], \"cases\": [], \"isNewLeadDialogOpen\": false, \"isNewContactDialogOpen\": false, \"isConvertLeadDialogOpen\": false, \"convertingLeadId\": null, \"isAfterConvertDialogOpen\": false, \"afterConvertLeadId\": null, \"isNewOpportunityDialogOpen\": false, \"isCloseOpportunityDialogOpen\": false, \"closingOpportunityId\": null, \"isNewCaseDialogOpen\": false, \"isEditCaseDialogOpen\": false, \"isChangeHomeCardDialogOpen\": false, \"changingCardSlotIndex\": null, \"isWelcomeBannerExpanded\": true, \"dismissedCards\": [], \"dashboardCardSlots\": [\"leads\", \"opportunities\", \"contacts\", \"recent-records\", \"cases\", \"make-it-your-home\"]}",
"instructions": "{\"user_prompt\": \"You are on the Salesforce dashboard. Create a new case by: 1) Click the 'New' button on the Cases card to open the new case dialog, 2) Scroll down and fill in Subject: 'Technical support request'. 3) Click the 'Save' button. A new case will be created and you will be redirected to the case details page.\", \"success_criteria\": \"A new case with subject 'Technical support request' must exist in the cases array, and a new tab of type 'home-case' must be created and active.\"}",
"reward_function": "_validate_salesforce_create_new_case",
"valid_target_states": "",
"max_steps": 15,
"timeout_seconds": 90,
"metadata": "{\"category\": \"crm\", \"difficulty\": \"medium\"}"
}