I have created the screen flow which will be invoked when 'create new case' button on account details page is clicked. It then invokes a flow which will create a new case associated with the respective account. I have added global variable recordid to hold accountid , which will pass accountid value to accountid field in case which looks like this :
It is creating a new case as expected but case is not getting mapped with the account.