cancel
Showing results for 
Search instead for 
Did you mean: 

Lite account deletion of long time pending confimation status

0 Kudos

Hello Experts,

We want to delete lite account which has 'Pending' subscription status from a long time.

I know it is possible through business logic using APIs. But it is possible to automate this in SAP CDC system?

Is it possible through IdentitySync using custom script ??

Is there any way to automate this requirement from the CDC system side?

Thanks,

Kalyani

Accepted Solutions (0)

Answers (3)

Answers (3)

deepika_chandrasekar
Active Contributor
0 Kudos

Hi Kalyani,

I need help on Lite account deletion.

when i read user using gigya.account and then pass the records to gigya.generic to delete and calling accounts.deleteLiteAccount

but when i test i am getting error Details: Email account doesn't exist or has full account

I know it is because token value is wrong. but i am not sure what to pass in the api method apart from emailAccountToken.

Can you please help me what values to pass into this apiParams method ?

do i need to pass value?

Thanks,

Deepika C.

spu230479
Participant
0 Kudos

Hi,

If you aren't able to get the search command working the way you require then you could manually create a search against emailAccounts to retrieve your data based on a created date and filter where subscriptions.xxxx.email.doubleOptIn.status = "Pending"

You then could use https://developers.gigya.com/display/GD/IdentitySync+Custom+Scripts custom scripts to be able to perform custom validation on those attributes you want to validate that are not in a stand timestamp format.

Thanks

Stephen

spu230479
Participant
0 Kudos

Hi Kalyani,

The way we've always recommended doing this in the past is using our IdentitySync ETL flows. You can identify accounts that will be in scope for deletion and use this list with the datasource.write.gigya.generic component. With this component you are able to call any of the customer data cloud API's including the account.delete or delete lite account API.

Thanks

Stephen

0 Kudos

Thanks, Stephen! It is helpful.

I have used gigya.account reader, field.select and datasource.write.gigya.generic component.

But I want to read records and put time interval condition(ex createdTimestamp < ${now - 15d})in where clause and also want to run dataflow every 15 days.

This is not possible using only gigya.account. Is this possible using any Field.evaluate component?

How we can achieve this in dataflow any idea?

Many thanks,

Kalyaani