Hi nice vid, A video on how to create a set number of cases (or any record) depending on a number added to a number field on a screen flow, any chance? :) that's what I came here looking for :) I will figure out how in the next hour or so but might help others :)
@techiePawn
2 жыл бұрын
Based on the use case we can create the flow, please let me know the use case in detail, and I will create a video around that
@scousegeeks
2 жыл бұрын
@@techiePawn cool the full requirement is pretty large, but this part is going to make up a wider concept so trying to prove it small scale then build that into my larger flow I want to have a simple screen flow, where it asks how many cases would you like to create, in a number box ( screen flow will be on the opportunity and triggered from the opp) the user will type the number of cases they want to create, they then click finish, and the flow creates the desired number of cases, with a specific subject and a default case status of new. Quite easy when i figure out how i assume which i'm playing around with now :) i've not done a multi create in this way before so just figuring it out 😅 thanks for reply :)
@scousegeeks
2 жыл бұрын
kzitem.info/news/bejne/1p9n0H6IpKaAiGU here's a vid doing it :D its more complex then i expected :) i also got another response on how to do it which i will try
@scousegeeks
2 жыл бұрын
Are these identical cases? If yes, you would take that number from the field (lets call it num_cases) and also create another number variable that is defaulted to zero, or 1 (choice is yours but we will use zero and call it num_iterator) then you would create a Case variable (obj_case) and a Case Collection Variable (obj_caseCollection). Then you would run a mock loop with logic like this. Decision num_iterator < num_cases Yes Path - This path will create a case and add it to a collection in memory and increment your iterator so that your decision will eventually be false and hit the default path. Assignment element to update obj_case fields based on the Case you are trying to create. Assignment obj_caseCollection Add obj_case num_iterator Add 1 Default Path - This will make sure that you have created some cases before trying to insert cases Decision: num_iterator > 0 in our case, but whatever you have set the default value to. If Yes, use insert element to insert obj_caseCollection.
Пікірлер: 5