How can I triggered an attestation manually with dynamic condition?

Hello,

We designed an attestation. But we need to change the condition dynamicly in runtime before attestation triggered.
for ex: end user request via web interface for a specific Group for start an attestation. Then I need to start an attestation for only this group's memberships. It means group is dynamic parameter for my attestation condition. I have to change the condition according to chosen group.

Question 1: How can I triggered an attestation via web interface or triggered task in process (backend)?
https://prnt.sc/GYxLfqzcCPLM
I need to know ow can I run the task "Run attestationcase for single object" in backend process?

Question 2: How can I update the attestation condition before run the attestation in runtime?
https://prnt.sc/dl8N_QuswC85

Version: 8.1
BR.