Question
FE Credit
VN
Last activity: 9 Jul 2025 21:09 EDT
Clarify argument of function pega.desktop.openAssignment
I use pega.desktop.openAssignment to open assignment, i cannot find documentation about this function
pega.desktop.openAssignment("ASSIGN-WORKLIST FECREDIT-BASE-CA-WORK-COLLECTION C-22982013!FIELDVISIT","","","","true")
from javascript, function use 7 arguments
pega.desktop.openAssignment = function(a, b, c, g, h, e, d) {
e = a;
var f = null;
pega && pega.ui && pega.ui.statetracking && pega.ui.statetracking.setPALInteraction("abc?\x26action\x3dopenAssignment\x26key\x3d" + a);
"object" == typeof e && "safeURL" == e.name && (f = SafeURL_clone(e),
a = f.get("key"),
b = f.get("contentID"),
c = f.get("dynamicContainerID"));
f || (f = new SafeURL);
null != c && "" != c && f.put("dynamicContainerID", c);
null != b && "" != b && f.put("contentID", b);
null != h && f.put("SkipConflictCheck", h);
pega.desktop.augmentConfigParams(d, f);
pega.desktop.support.handleMultipleAG(a, !0, void 0, f) && pega.desktop.support.postOpenAssignment(a, g, f)
}
I only know 1st argument is assigment key, please help me clarify other arguments
@PhuP16948644 Hey, I’ve also struggled to find detailed docs on
pega.desktop.openAssignment. From what I’ve seen, the first argument is definitely the assignment key, like you said. The others seem related to content containers and some config flags, but it’s pretty vague. The function code shows handling for things likecontentID,dynamicContainerID, and a flag for skipping conflict checks, but the exact purpose of each isn’t clearly documented anywhere. If anyone has official details or has experimented with these parameters, I’d love to hear more. Meanwhile, I’d suggest trying to pass empty strings or nulls for unused args and see what changes in behavior