get Process Recipient
open fun getProcessRecipient( @NonNull context: Context, @NonNull templateUuid: String, @Nullable processUUID: String, version: Int): Pair<ArrayList<PhoneItem>, ArrayList<ContactItem>>
Content copied to clipboard
Retrieve the list of ContactItem and PhoneItem for draft version or from last process using same template (process has no version(0)). if you pass a null process uuid, you can retrieve the list of ContactItem and PhoneItem in first version for the last process created by templateUuid cases here : case 1 : user already checked some contacts ==> retrieve contacts from meta data case 2 : no contacts has been chosen by the user and version == 0 ==> retrieve contacts from last process using same template
Return
process recipients Pair
Parameters
context
Context The application context.
template Uuid
String the template uuid
process UUID
String the process uuid
version
Integer the process version