如何确定配置文件是否已在 Journy Decision 节点中设置密码

How to determine if a profile already has a password set within a Journy Decision node

我想在 Journey 中设置一个决定,以确定当前配置文件是否设置了密码。

使用决策节点并选择规则,似乎没有查找密码列的选项。

这是我的旅程。 https://spinsurance.admin.kademi.com.au/funnels/email-new-policy-holder-users/version1/#journeyBuilder-tab

一种选择是创建自定义旅程字段。例如,将代码添加到 /APP-INF/ 下的自定义应用程序:

controllerMappingList.addTextJourneyField('profileHasProfile', 'Profile Has Password', 'checkProfilePassword');

function checkProfilePassword(profile) {
    var userResource = applications.userApp.findUserResource(profile);
    if( formatter.isNotNull(userResource) ){
        return userResource.isHasPassword();
    }

    return 'false';
}

然后您可以将该字段与 equals 运算符一起使用

通常旅程需要在用户设置密码时采取行动,或者在超时后不采取行动。您可以使用 "Created credentials" 目标而不是决策节点来做到这一点

如果您确实需要做出决定,那么之前的答案是正确的