MoveNonFungibleTokens can accept multiple non fungible tokens

Description

Peter:

I got a different issue with `MoveNonFungibleTokens`, it is related with flow atomity. So Imagine I have a Bicycle as an object I want to transact among parties. The bike has two parts: the frame and the wheels. Each of them got a non-fungible token associated to it.
So far, I am able to issue both token atomically using
```SignedTransaction stx = subFlow(new IssueTokens(ImmutableList.of(frametoken,wheeltoken)));```
But I cannot move them atomically., I would have to call the `MoveNonFungibleTokens` twice to complete a whole bike transfer, which are two separated transactions:
```SignedTransaction stx1 = (SignedTransaction) subFlow(new MoveNonFungibleTokens(partyAndFrameToken));
SignedTransaction stx2 = (SignedTransaction) subFlow(new MoveNonFungibleTokens(partyAndWheelToken));```
I wonder is there a proper practice around this?

Issue created in Slack from a message.

Assignee

Wayne Lam

Reporter

Chris Chabot

Labels

Feature Team

Developer Relations

Story Points / Dev Days

None

Fix versions

None

Ported to...

None

Engineering Teams

None

Priority

Highest
Configure